解决 bug

This commit is contained in:
2025-07-12 19:05:23 +08:00
parent 9113dab102
commit 1462018682
10 changed files with 47 additions and 26 deletions

View File

@ -87,11 +87,12 @@ type GetIpListRes struct {
Total int64 `json:"total" dc:"总数"`
}
type DetailReq struct {
g.Meta `path:"/store/detail" method:"get" tags:"Backend/Store" summary:"(系统、商户门店后台)门店详情"`
NetbarAccount string `json:"netbarAccount" v:"required" dc:"门店账号"`
g.Meta `path:"/store/detail" method:"get" tags:"Backend/Store" summary:"(系统、商户门店后台)门店详情"`
StoreId int64 `json:"storeId" v:"required" dc:"门店ID"`
}
type DetailRes struct {
Id int64 `json:"id" dc:"门店ID"`
Id int64 `json:"id" dc:"门店ID"`
NetbarAccount string `json:"netbarAccount" dc:"门店账号"`
}
type StoreMemberLevelReq struct {

View File

@ -7,8 +7,11 @@ type InfoReq struct {
}
type InfoRes struct {
Id int64 `json:"id"`
Username string `json:"username"`
Id int64 `json:"id"`
StoreId int64 `json:"storeId"`
Username string `json:"username"`
Realname string `json:"realname"`
IsPrimary bool `json:"isPrimary"`
}
type ListReq struct {
g.Meta `path:"/store/admin" method:"get" tags:"Backend/StoreAdmin" summary:"(系统、商户门店后台)门店管理员列表"`