初步实现门店的逻辑代码
This commit is contained in:
@ -17,9 +17,11 @@ type Feedbacks struct {
|
||||
Title interface{} // 反馈标题
|
||||
Content interface{} // 反馈内容
|
||||
FeedbackType interface{} // 反馈类型:1=BUG,2=建议,3=投诉,4=其他
|
||||
Status interface{} // 处理状态:0=待处理,1=处理中,2=已处理,3=已驳回
|
||||
Status interface{} // 处理状态:1=待处理,2=处理中,3=已处理,4=已驳回
|
||||
Reply interface{} // 管理员回复内容
|
||||
CreatedAt *gtime.Time // 反馈提交时间
|
||||
UpdatedAt *gtime.Time // 反馈更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
StoreId interface{} // 门店唯一 id
|
||||
MerchatId interface{} // 商户唯一 id
|
||||
}
|
||||
|
||||
@ -19,7 +19,7 @@ type StoreAdmins struct {
|
||||
RealName interface{} // 真实姓名
|
||||
Phone interface{} // 手机号
|
||||
Email interface{} // 邮箱
|
||||
Role interface{} // 角色:1=店长,2=收银员,3=网管
|
||||
IsPrimary interface{} // 是否为主账号(1=是,0=否)
|
||||
Status interface{} // 状态:1=正常,2=禁用
|
||||
LastLoginAt *gtime.Time // 最后登录时间
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
|
||||
@ -19,7 +19,7 @@ type Stores struct {
|
||||
Address interface{} // 门店地址
|
||||
ContactName interface{} // 联系人姓名
|
||||
ContactPhone interface{} // 联系人电话
|
||||
Status interface{} // 状态:1=正常营业,2=暂停营业,3=已关闭
|
||||
Status interface{} // 状态:1=正常营业,2=暂停营业
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
|
||||
Reference in New Issue
Block a user