修改接口定义

This commit is contained in:
2025-07-10 19:08:53 +08:00
parent 49fd919fe1
commit e991da6dca
2 changed files with 4 additions and 4 deletions

View File

@ -49,7 +49,7 @@ type MerchantRegisterRes struct {
} }
type StoreLoginReq struct { type StoreLoginReq struct {
g.Meta `path:"/store/login" method:"post" tags:"Backend/Store" summary:"(商户门店后台)门店登录"` g.Meta `path:"/store/login" method:"post" tags:"PC-Server" summary:"(商户门店后台)门店登录"`
Username string `json:"username" v:"required" dc:"用户名"` Username string `json:"username" v:"required" dc:"用户名"`
Password string `json:"password" v:"required" dc:"密码"` Password string `json:"password" v:"required" dc:"密码"`
} }
@ -63,9 +63,9 @@ type StoreLoginRes struct {
} }
type Quan8AutologinReq struct { type Quan8AutologinReq struct {
g.Meta `path:"/quan8/autologin" method:"post" tags:"PC/Auth" summary:"8圈用户自动登录该系统"` g.Meta `path:"/quan8/autologin" method:"post" tags:"PC-Server" summary:"8圈用户自动登录该系统"`
UUID string `json:"uuid" v:"required#UUID不能为空" dc:"UUID"` UUID string `json:"uuid" v:"required#UUID不能为空" dc:"UUID"`
StoreId int64 StoreId int64 `json:"storeId" v:"required#门店ID不能为空" dc:"门店ID"`
} }
type Quan8AutologinRes struct { type Quan8AutologinRes struct {
Token string `json:"token"` Token string `json:"token"`

View File

@ -3,7 +3,7 @@ package v1
import "github.com/gogf/gf/v2/frame/g" import "github.com/gogf/gf/v2/frame/g"
type GetReq struct { type GetReq struct {
g.Meta `path:"/desktop" method:"get" tags:"PC/Desktop" summary:"(PC)获取桌面信息"` g.Meta `path:"/desktop" method:"get" tags:"PC-Server" summary:"(PC)获取桌面信息"`
StoreId int64 `json:"storeId" v:"required#请选择店铺" dc:"门店id"` StoreId int64 `json:"storeId" v:"required#请选择店铺" dc:"门店id"`
} }
type GetRes struct { type GetRes struct {