fix:接受参数error

master v1.0.3
大虾 3 years ago
parent 17d0bbf937
commit b09a68551c

@ -41,7 +41,7 @@ type GetAfsParams struct {
ApplyReasonID uint `json:"applyReasonId"`
ApplyReasonName string `json:"applyReasonName"`
ApproveResult uint `json:"approveResult"`
AfsApplyTime string `json:"afsApplyTime"`
AfsApplyTime int64 `json:"afsApplyTime"`
ApproveResultName string `json:"approveResultName"`
ProcessResultName string `json:"processResultName"`
AfsType returnType `json:"afsType"`
@ -49,7 +49,7 @@ type GetAfsParams struct {
CustomerMobile string `json:"customerMobile"`
QuestionPic string `json:"questionPic"`
ApproveNotes string `json:"approveNotes"`
ApprovedDate string `json:"approvedDate"`
ApprovedDate int64 `json:"approvedDate"`
CustomerEmail string `json:"customerEmail"`
ProcessedDate string `json:"processedDate"`
AfsApplyID uint `json:"afsApplyId"`

@ -37,11 +37,13 @@ type CancelOrderResponse struct {
type cancelStatus uint
const (
CancelNot cancelStatus = 0
CancelFail cancelStatus = 1
CancelSuccess cancelStatus = 3
)
var cancelStatusMap = map[cancelStatus]string{
CancelNot: "不可取消",
CancelFail: "取消失败",
CancelSuccess: "取消成功",
}

@ -78,7 +78,8 @@ const (
OutOfStock = 8
WaitConfirm = 15
UserReject = 16
Lock = 20
UserSign = 18
Lock = 21
Cancel = -100
)
@ -91,6 +92,7 @@ var statusMap = map[status]string{
OutOfStock: "出库完成",
WaitConfirm: "待用户确认收货",
UserReject: "用户拒收",
UserSign: "用户签收",
Lock: "订单锁定",
Cancel: "已取消",
}

Loading…
Cancel
Save