feat(app): update
This commit is contained in:
56
pkg/dto/DispatchOrderCenterDataDTO.go
Normal file
56
pkg/dto/DispatchOrderCenterDataDTO.go
Normal file
@ -0,0 +1,56 @@
|
||||
package dto
|
||||
|
||||
// 派单中心数据对象
|
||||
type DispatchOrderCenterDataDTO struct {
|
||||
DispatchOrderId string
|
||||
HostUserId string
|
||||
HostUserAvatar string
|
||||
HostUserNickname string
|
||||
HostUserNo string
|
||||
BuyerId string
|
||||
BuyerUserAvatar string
|
||||
BuyerUserNickname string
|
||||
BuyerUserNo string
|
||||
SkillIcon string
|
||||
SkillName string
|
||||
CustomerRequirement string
|
||||
Scheme string
|
||||
CreateTime string
|
||||
Status string //1派单中 2=完成 3=弃单
|
||||
Title string // 消息中心使用
|
||||
SkillMode string
|
||||
SkillLevel string
|
||||
SkillService string
|
||||
Gender string
|
||||
OrderCnt int32
|
||||
OrderPrice int32
|
||||
OrderAmount int32
|
||||
ChatroomId string
|
||||
UnitName string
|
||||
TakeStatus string // 接单状态
|
||||
TakeStatusDesc string // 接单状态文案描述
|
||||
StatusDesc string // 派单状态文案描述
|
||||
Lock string
|
||||
|
||||
GuildBase
|
||||
}
|
||||
|
||||
type DispatchOrderCombineDTO struct {
|
||||
// model_master.TDispatchOrder
|
||||
TakeStatus string `gorm:"column:take_status;" json:"take_status"` // 接单状态
|
||||
}
|
||||
|
||||
var TakeStatusDesc = map[string]string{
|
||||
"success": "抢单成功",
|
||||
"failed": "抢单失败",
|
||||
"notTake": "未抢单",
|
||||
"init": "抢单中",
|
||||
"cancel": "取消抢单",
|
||||
"dispatch_cancel": "取消派单",
|
||||
}
|
||||
|
||||
var StatusDesc = map[string]string{
|
||||
"1": "派单中",
|
||||
"2": "派单成功",
|
||||
"3": "派单结束",
|
||||
}
|
||||
Reference in New Issue
Block a user