实现商户注册、管理员审核商户申请接口

This commit is contained in:
2025-06-04 15:10:56 +08:00
parent 00b889cfcc
commit caf3d42fe5
63 changed files with 1195 additions and 294 deletions

View File

@ -11,17 +11,16 @@ import (
// Stores is the golang structure of table stores for DAO operations like Where/Data.
type Stores struct {
g.Meta `orm:"table:stores, do:true"`
Id interface{} // 门店ID
MerchantId interface{} // 所属商户ID
Name interface{} // 门店名称
StoreCode interface{} // 门店编号
Address interface{} // 门店地址
ContactName interface{} // 联系人姓名
ContactPhone interface{} // 联系人电话
BusinessHours interface{} // 营业时间
Status interface{} // 状态1=正常营业2=暂停营业3=已关闭
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 软删除时间戳
g.Meta `orm:"table:stores, do:true"`
Id interface{} // 门店ID
MerchantId interface{} // 所属商户ID
Name interface{} // 门店名称
StoreCode interface{} // 门店编号
Address interface{} // 门店地址
ContactName interface{} // 联系人姓名
ContactPhone interface{} // 联系人电话
Status interface{} // 状态1=正常营业2=暂停营业3=已关闭
CreatedAt *gtime.Time // 创建时间
UpdatedAt *gtime.Time // 更新时间
DeletedAt *gtime.Time // 软删除时间
}