aa
This commit is contained in:
@@ -429,8 +429,8 @@ func (v *Coupons) TableIndex() [][]string {
|
|||||||
type UserCoupons struct {
|
type UserCoupons struct {
|
||||||
ModelIDCUL
|
ModelIDCUL
|
||||||
|
|
||||||
CouponID int `json:"couponID"` //优惠券ID
|
CouponID int `orm:"column(coupon_id)" json:"couponID"` //优惠券ID
|
||||||
UserID string `json:"userID"` //userID
|
UserID string `orm:"column(user_id)" json:"userID"` //userID
|
||||||
CouponStatus int `json:"couponStatus"` //优惠券状态,0为正常可使用,-1为已过期, -2为已使用
|
CouponStatus int `json:"couponStatus"` //优惠券状态,0为正常可使用,-1为已过期, -2为已使用
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user