暂时存一下
This commit is contained in:
@@ -9,8 +9,9 @@ const (
|
||||
)
|
||||
|
||||
const (
|
||||
PayTypeWX = 1 // 微信支付
|
||||
PayTypeTL = 2 // 通联宝支付
|
||||
PayTypeWX = 1 // 微信支付
|
||||
PayTypeTL = 2 // 通联宝支付
|
||||
PayTypeTL_DiscountCard = 3 // 通联宝支付(会员折扣卡)
|
||||
|
||||
PayStatusNo = 0
|
||||
PayStatusYes = 1
|
||||
|
||||
@@ -194,3 +194,19 @@ func (*UserOrderSms) TableUnique() [][]string {
|
||||
[]string{"Mobile"},
|
||||
}
|
||||
}
|
||||
|
||||
type UserMember struct {
|
||||
ModelIDCULD
|
||||
|
||||
UserID string `orm:"size(48);column(user_id)" json:"userID"` //内部唯一标识
|
||||
MemberType int `json:"memberType"` //会员类型, 1为折扣卡
|
||||
MemberID int `json:"memberID"` //会员类型ID,折扣卡的话代表几档
|
||||
EndAt time.Time `json:"endAt"` //会员过期时间
|
||||
}
|
||||
|
||||
func (v *UserMember) TableIndex() [][]string {
|
||||
return [][]string{
|
||||
[]string{"UserID"},
|
||||
[]string{"CreateAt"},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user