This commit is contained in:
richboo111
2022-07-22 16:05:03 +08:00
parent 0012b7ed4f
commit 4bfb4666cd
4 changed files with 10 additions and 11 deletions

View File

@@ -30,9 +30,10 @@ const (
OrderTypeCash = 2 //提现
OrderTypePublishJob = 1 //发布任务
OrderTpyeMember = 2 //充值会员
OrderTypeMember = 2 //充值会员月卡
OrderTypeMemberYear = 5 //充值会员年卡
OrderTypeDelivery = 3 //发快递
OrderTpyeDropShipping = 4 //一件代发交钱
OrderTypeDropShipping = 4 //一件代发交钱
)
var (
@@ -58,7 +59,7 @@ type Order struct {
OrderID string `orm:"column(order_id)" json:"orderID"` // 订单号
UserID string `orm:"column(user_id);size(48)" json:"userID"` // 用户ID
Type int `json:"type"` // 支付还是提现 1-支付2-提现
OrderType int `json:"orderType"` // 订单类型1-发任务2-会员3-发快递4-提现
OrderType int `json:"orderType"` // 订单类型1-发任务2-会员月卡3-发快递4-提现5-会员年卡
Way string `json:"way"` // weixinapp ,weixinmini
Status int `json:"status"` // 订单状态,待支付2已支付5支付成功110支付失败115,150取消
PayPrice int `json:"payPrice"` // 支付金额