初步实现门店的逻辑代码

This commit is contained in:
2025-06-05 11:43:25 +08:00
parent 8b63f72f99
commit 9d20953377
14 changed files with 167 additions and 64 deletions

View File

@ -17,9 +17,11 @@ type Feedbacks struct {
Title interface{} // 反馈标题
Content interface{} // 反馈内容
FeedbackType interface{} // 反馈类型1=BUG2=建议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
}

View File

@ -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 // 创建时间

View File

@ -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 // 软删除时间戳