This commit is contained in:
苏尹岚
2020-10-14 14:44:53 +08:00
parent bd361fa881
commit fac92a6c7a
6 changed files with 221 additions and 110 deletions

View File

@@ -9,9 +9,8 @@ const (
)
const (
PayTypeWX = 1 // 微信支付
PayTypeTL = 2 // 通联宝支付
PayTypeTL_DiscountCard = 3 // 通联宝支付(会员折扣卡)
PayTypeWX = 1 // 微信支付
PayTypeTL = 2 // 通联宝支付
PayStatusNo = 0
PayStatusYes = 1
@@ -449,7 +448,7 @@ type Order struct {
OrderID int64 `orm:"column(order_id)" json:"orderID"` //订单号
UserID string `orm:"column(user_id);size(48)" json:"userID"` //用户ID
Type int `json:"type"` //订单类型
Status int `json:"status"` //订单状态
Status int `json:"status"` //订单状态,待支付2已支付5支付成功110支付失败115
PayPrice int `json:"payPrice"` //支付金额
Comment string `orm:"size(255)" json:"comment"` //备注
}