You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
912 B
27 lines
912 B
package routers |
|
|
|
import ( |
|
"github.com/gin-gonic/gin" |
|
handler "server/modules/customer/handler/gm" |
|
) |
|
|
|
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) |
|
}
|
|
|