This commit is contained in:
li 2022-06-21 15:34:42 +08:00
parent ff5bcb1c8c
commit 266eb091a1
2 changed files with 5 additions and 2 deletions

View File

@ -27,6 +27,7 @@ func StoreList(c *gin.Context) {
return return
} }
RespOK(c, stores) RespOK(c, stores)
return
} }
func DisplayStoreList(c *gin.Context) { func DisplayStoreList(c *gin.Context) {

View File

@ -45,9 +45,11 @@ type User struct {
CooperativeBusinessId uint32 `json:"cooperative_business_id" gorm:"index"` // 合作商id CooperativeBusinessId uint32 `json:"cooperative_business_id" gorm:"index"` // 合作商id
CooperativeName string `json:"cooperative_name"` // 合作商名称 CooperativeName string `json:"cooperative_name"` // 合作商名称
ShopAssistantName string `json:"shop_assistant_name"` // 店员名称 ShopAssistantName string `json:"shop_assistant_name"` // 店员名称
Version uint32 `json:"-"` Version uint32 `json:"-"` //
UserVm *UserVm `json:"user_vm" gorm:"-"` // UserVm *UserVm `json:"user_vm" gorm:"-"` //
//RoleId uint32 `json:"role_id"` // 角色id //RoleId uint32 `json:"role_id"` // 角色id
} }
func (o *User) TableName() string { func (o *User) TableName() string {