缓存用户绑定请求参数、提供任务列表使用

This commit is contained in:
2025-06-16 19:26:15 +08:00
parent 1e6816f802
commit 6c2ef9dfe2
17 changed files with 180 additions and 243 deletions

View File

@ -5,15 +5,16 @@ import (
)
type Store struct {
g.Meta `orm:"table:stores"` // 绑定表名
Id int64 `json:"id" orm:"id,primary" dc:"门店ID"`
MerchantId int64 `json:"merchantId" orm:"merchant_id,not null" dc:"所属商户ID"`
Name string `json:"name" orm:"name,not null" dc:"门店名称"`
StoreCode string `json:"storeCode" orm:"store_code,unique" dc:"门店编号"`
Address string `json:"address" orm:"address" dc:"门店地址"`
ContactName string `json:"contactName" orm:"contact_name" dc:"联系人姓名"`
ContactPhone string `json:"contactPhone" orm:"contact_phone" dc:"联系人电话"`
Status int `json:"status" orm:"status,default:1" dc:"状态1=正常营业2=暂停营业3=已关闭"`
g.Meta `orm:"table:stores"` // 绑定表名
Id int64 `json:"id" orm:"id,primary" dc:"门店ID"`
MerchantId int64 `json:"merchantId" orm:"merchant_id,not null" dc:"所属商户ID"`
Name string `json:"name" orm:"name,not null" dc:"门店名称"`
StoreCode string `json:"storeCode" orm:"store_code,unique" dc:"门店编号"`
Address string `json:"address" orm:"address" dc:"门店地址"`
ContactName string `json:"contactName" orm:"contact_name" dc:"联系人姓名"`
ContactPhone string `json:"contactPhone" orm:"contact_phone" dc:"联系人电话"`
Status int `json:"status" orm:"status,default:1" dc:"状态1=正常营业2=暂停营业3=已关闭"`
NetbarAccount string `json:"netbarAccount" orm:"netbar_account" dc:"网吧网关账号"`
}
type StoreCreateIn struct {