实现商户注册、管理员审核商户申请接口
This commit is contained in:
@ -20,34 +20,32 @@ type StoresDao struct {
|
||||
|
||||
// StoresColumns defines and stores column names for the table stores.
|
||||
type StoresColumns struct {
|
||||
Id string // 门店ID
|
||||
MerchantId string // 所属商户ID
|
||||
Name string // 门店名称
|
||||
StoreCode string // 门店编号
|
||||
Address string // 门店地址
|
||||
ContactName string // 联系人姓名
|
||||
ContactPhone string // 联系人电话
|
||||
BusinessHours string // 营业时间
|
||||
Status string // 状态:1=正常营业,2=暂停营业,3=已关闭
|
||||
CreatedAt string // 创建时间
|
||||
UpdatedAt string // 更新时间
|
||||
DeletedAt string // 软删除时间戳
|
||||
Id string // 门店ID
|
||||
MerchantId string // 所属商户ID
|
||||
Name string // 门店名称
|
||||
StoreCode string // 门店编号
|
||||
Address string // 门店地址
|
||||
ContactName string // 联系人姓名
|
||||
ContactPhone string // 联系人电话
|
||||
Status string // 状态:1=正常营业,2=暂停营业,3=已关闭
|
||||
CreatedAt string // 创建时间
|
||||
UpdatedAt string // 更新时间
|
||||
DeletedAt string // 软删除时间戳
|
||||
}
|
||||
|
||||
// storesColumns holds the columns for the table stores.
|
||||
var storesColumns = StoresColumns{
|
||||
Id: "id",
|
||||
MerchantId: "merchant_id",
|
||||
Name: "name",
|
||||
StoreCode: "store_code",
|
||||
Address: "address",
|
||||
ContactName: "contact_name",
|
||||
ContactPhone: "contact_phone",
|
||||
BusinessHours: "business_hours",
|
||||
Status: "status",
|
||||
CreatedAt: "created_at",
|
||||
UpdatedAt: "updated_at",
|
||||
DeletedAt: "deleted_at",
|
||||
Id: "id",
|
||||
MerchantId: "merchant_id",
|
||||
Name: "name",
|
||||
StoreCode: "store_code",
|
||||
Address: "address",
|
||||
ContactName: "contact_name",
|
||||
ContactPhone: "contact_phone",
|
||||
Status: "status",
|
||||
CreatedAt: "created_at",
|
||||
UpdatedAt: "updated_at",
|
||||
DeletedAt: "deleted_at",
|
||||
}
|
||||
|
||||
// NewStoresDao creates and returns a new DAO object for table data access.
|
||||
|
||||
Reference in New Issue
Block a user