zhangqian
2023-10-13 13194e787d51e4ce07dfc35341d536fb5db7aaa3
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)            // 获取客服单列表
    }
}