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.
97 lines
2.2 KiB
97 lines
2.2 KiB
|
2 months ago
|
package values
|
||
|
|
|
||
|
|
import "server/common"
|
||
|
|
|
||
|
|
// GetCustomerRobotReq 客服机器人请求
|
||
|
|
type GetCustomerRobotReq struct {
|
||
|
|
ParentId int // 该消息父类id
|
||
|
|
}
|
||
|
|
|
||
|
|
// GetCustomerRobotResp 客服机器人响应
|
||
|
|
type GetCustomerRobotResp struct {
|
||
|
|
List []*common.ConfigCustomerRobot
|
||
|
|
}
|
||
|
|
|
||
|
|
// EditCustomerRobotReq 编辑客服机器人消息
|
||
|
|
type EditCustomerRobotReq struct {
|
||
|
|
List []*common.ConfigCustomerRobot
|
||
|
|
}
|
||
|
|
|
||
|
|
// EditCustomerRobotResp 编辑客服机器人消息
|
||
|
|
type EditCustomerRobotResp struct {
|
||
|
|
List []*common.ConfigCustomerRobot
|
||
|
|
}
|
||
|
|
|
||
|
|
// DelCustomerRobotReq 删除客服机器人消息
|
||
|
|
type DelCustomerRobotReq struct {
|
||
|
|
List []*int // id
|
||
|
|
}
|
||
|
|
|
||
|
|
// GetCustomerLabelResp 订单标签响应
|
||
|
|
type GetCustomerLabelResp struct {
|
||
|
|
List []*common.CustomerOrderLabel
|
||
|
|
}
|
||
|
|
|
||
|
|
// EditCustomerLabelReq 编辑订单标签响应
|
||
|
|
type EditCustomerLabelReq struct {
|
||
|
|
List []*common.CustomerOrderLabel
|
||
|
|
}
|
||
|
|
|
||
|
|
// DelCustomerLabelReq 删除订单标签响应
|
||
|
|
type DelCustomerLabelReq struct {
|
||
|
|
List []*int // id
|
||
|
|
}
|
||
|
|
|
||
|
|
// GetConfigCustomerResp 客服系统配置
|
||
|
|
type GetConfigCustomerResp struct {
|
||
|
|
List []*common.ConfigCustomer
|
||
|
|
}
|
||
|
|
|
||
|
|
// EditConfigCustomerReq 客服系统配置
|
||
|
|
type EditConfigCustomerReq struct {
|
||
|
|
List []*common.ConfigCustomer
|
||
|
|
}
|
||
|
|
|
||
|
|
// DelConfigCustomerReq 客服系统配置
|
||
|
|
type DelConfigCustomerReq struct {
|
||
|
|
List []*int // id
|
||
|
|
}
|
||
|
|
|
||
|
|
// 客服黑名单请求
|
||
|
|
type CustomerBlackUserReq struct {
|
||
|
|
Page int `json:"Page" binding:"required"`
|
||
|
|
Num int `json:"Num" binding:"required"`
|
||
|
|
}
|
||
|
|
|
||
|
|
// 客服黑名单请求
|
||
|
|
type CustomerBlackUserResp struct {
|
||
|
|
List []*common.CustomerBlackUser
|
||
|
|
Count int64
|
||
|
|
}
|
||
|
|
|
||
|
|
// DelConfigCustomerReq 客服系统配置
|
||
|
|
type EditCustomerBlackUserReq struct {
|
||
|
|
Opt int // 1是添加黑名单 2是删除黑名单
|
||
|
|
List []*int // uid 传玩家uid
|
||
|
|
}
|
||
|
|
|
||
|
|
// GMConfigCommonListReq 后台获取调控配置通用接口
|
||
|
|
type GMConfigCommonListReq struct {
|
||
|
|
Condition map[string]interface{}
|
||
|
|
}
|
||
|
|
|
||
|
|
// GMConfigCommonListResp 后台获取调控配置通用接口
|
||
|
|
type GMConfigCommonListResp struct {
|
||
|
|
Config interface{}
|
||
|
|
}
|
||
|
|
|
||
|
|
// GMConfigCommonEditReq 后台修改调控配置通用接口
|
||
|
|
type GMConfigCommonEditReq struct {
|
||
|
|
Config []map[string]interface{}
|
||
|
|
}
|
||
|
|
|
||
|
|
// GMConfigCommonDelReq 后台删除调控配置通用接口
|
||
|
|
type GMConfigCommonDelReq struct {
|
||
|
|
ID int
|
||
|
|
}
|