aa
This commit is contained in:
@@ -21,14 +21,13 @@ const (
|
||||
)
|
||||
|
||||
const (
|
||||
OrderTypeAddressErr = -1 //地址异常订单
|
||||
OrderTypeNormal = 0 //普通订单
|
||||
OrderTypeMatter = 1 //物料订单
|
||||
OrderTypeSupplyGoods = 2 //进货订单
|
||||
OrderTypeDefendPrice = 3 //守价订单
|
||||
|
||||
OrderTypePay = 1 //支付
|
||||
OrderTypeCash = 2 //提现
|
||||
|
||||
OrderTypePublishJob = 1 //发布任务
|
||||
OrderTpyeMember = 2 //充值会员
|
||||
OrderTypeDelivery = 3 //发快递
|
||||
OrderTpyeDropShipping = 4 //一件代发交钱
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -50,9 +49,10 @@ var (
|
||||
type Order struct {
|
||||
ModelIDCUL
|
||||
|
||||
OrderID string `orm:"column(order_id)" json:"orderID"` //订单号
|
||||
UserID string `orm:"column(user_id);size(48)" json:"userID"` //用户ID
|
||||
Type int `json:"type"` //订单类型
|
||||
OrderID string `orm:"column(order_id)" json:"orderID"` //订单号
|
||||
UserID string `orm:"column(user_id);size(48)" json:"userID"` //用户ID
|
||||
Type int `json:"type"`
|
||||
OrderType int `json:"orderType"` //订单类型
|
||||
Way string `json:"way"` //weixinapp ,weixinmini
|
||||
Status int `json:"status"` //订单状态,待支付2,已支付5,支付成功110,支付失败115
|
||||
PayPrice int `json:"payPrice"` //支付金额
|
||||
|
||||
Reference in New Issue
Block a user