印度包网
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.
 
 
 

63 lines
1.5 KiB

package values
import "server/common"
// GetCustomerConfigResp 客服系统配置返回
type GetCustomerConfigResp struct {
Config *common.ConfigCustomer
}
// GetCustomerHistoryReq 获取聊天信息
type GetCustomerHistoryReq struct {
Page int `json:"Page" binding:"required"`
Num int `json:"Num" binding:"required"`
}
// GetCustomerHistoryResp 获取聊天信息
type GetCustomerHistoryResp struct {
List []*common.CustomerChatData
Count int64
Status int // 上一次工单状态
IsBlack bool // 是否客服黑名单
}
// GetCustomerRobotReq 客服机器人请求
type GetCustomerRobotReq struct {
ParentId int // 该消息父类id
}
// GetCustomerRobotResp 客服机器人请求
type GetCustomerRobotResp struct {
List []*common.ConfigCustomerRobot
Parent *common.ConfigCustomerRobot
}
// GetCustomerRobotMsgReq 客服机器人请求
type GetCustomerRobotMsgReq struct {
Id int // 该消息父类id
}
// GetCustomerRobotMsgResp 客服机器人请求
type GetCustomerRobotMsgResp struct {
Content *common.ConfigCustomerRobot
}
// UploadImageResp 图片上传返回
type UploadImageResp struct {
Path string // 返回图片地址
}
// DownloadImageReq 加载图片地址
type DownloadImageReq struct {
Path string `json:"Path" binding:"required"` // 返回图片地址
}
// ReadMessageReq 消息已读接口
type ReadMessageReq struct {
List []int `json:"List" binding:"required"` // 传入需要标记已读消息的id
}
// 发送消息请求
type SendMessageReq struct {
common.CustomerChatData
}