fix
wangpengfei
2023-08-18 51a555e6db6dcf71a7c16faa3bf61241a32d2459
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package router
 
import (
    v1 "aps_crm/api/v1"
    "github.com/gin-gonic/gin"
)
 
type CustomerServiceSheetRouter struct{}
 
func (c *CustomerServiceSheetRouter) InitCustomerServiceSheetRouter(router *gin.RouterGroup) {
    customerServiceSheetRouter := router.Group("customerServiceSheet")
    customerServiceSheetApi := v1.ApiGroup.CustomerServiceSheetApi
    {
        customerServiceSheetRouter.POST("add", customerServiceSheetApi.Add)             // 添加客服单
        customerServiceSheetRouter.DELETE("delete/:id", customerServiceSheetApi.Delete) // 删除客服单
        customerServiceSheetRouter.PUT("update", customerServiceSheetApi.Update)        // 更新客服单
        customerServiceSheetRouter.GET("list", customerServiceSheetApi.List)            // 获取客服单列表
    }
}