package routers import ( handler "server/modules/customer/handler/gm" "github.com/gin-gonic/gin" ) func gmHandle(e *gin.Engine) { // 客服机器人配置 e.POST("/gm/customer/robot/info", handler.GetCustomerRobot) e.POST("/gm/customer/robot/edit", handler.EditCustomerRobot) e.POST("/gm/customer/robot/del", handler.DelCustomerRobot) // 客服订单标签 e.GET("/gm/order/label/info", handler.GetCustomerLabel) e.POST("/gm/order/label/edit", handler.EditCustomerLabel) e.POST("/gm/order/label/del", handler.DelCustomerLabel) // 客服系统配置 e.GET("/gm/customer/config/info", handler.GetConfigCustomer) e.POST("/gm/customer/config/edit", handler.EditConfigCustomer) e.POST("/gm/customer/config/del", handler.DelConfigCustomer) // 客服系统黑名单 e.POST("/gm/customer/black/list", handler.GetCustomerBlackUser) e.POST("/gm/customer/black/edit", handler.EditCustomerBlackUser) e.GET("/gm/control/*action", handler.ConfigControlCommon) e.POST("/gm/control/*action", handler.ConfigControlCommon) }