mh_server/model/privilege_member.go
chenlin f5db898321 1.新增零售尊享会员开通接口;
2.修改GameCardInfo接口,查看详情无需用户登录;
3.修改搜索相关接口,搜索无需登录;
2024-08-26 17:16:33 +08:00

22 lines
1.1 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package model
import "time"
// gen:qs
//
//go:generate goqueryset -in privilege_member.go
type PrivilegeMember struct {
Model
Uid uint32 `json:"uid" gorm:"column:uid;unique_index"` // 用户id
Tel string `json:"tel"` // 电话
StoreId uint64 `json:"store_id"` // 门店id
MemberLevel uint32 `json:"member_level"` // 当前会员等级:1-普通用户6-尊享会员
MemberExpire *time.Time `json:"member_expire"` // 会员到期时间
OpenMemberTime *time.Time `json:"open_member_time"` // 开通会员时间
ExtendStatus uint32 `json:"extend_status"` // 延保状态:0-非会员, 1-已过期2-待激活、3-已激活
HostCode string `json:"host_code"` // 主机编码
Images string `json:"images"` // 图片凭证
AuditorId uint32 `json:"auditor_id" gorm:"index"` // 审核人id
AuditTime *time.Time `json:"audit_time"` // 审核时间
}