增加 8圈自动登录
This commit is contained in:
@ -16,4 +16,5 @@ type IAuthV1 interface {
|
||||
MerchantCode(ctx context.Context, req *v1.MerchantCodeReq) (res *v1.MerchantCodeRes, err error)
|
||||
MerchantRegister(ctx context.Context, req *v1.MerchantRegisterReq) (res *v1.MerchantRegisterRes, err error)
|
||||
StoreLogin(ctx context.Context, req *v1.StoreLoginReq) (res *v1.StoreLoginRes, err error)
|
||||
Quan8Autologin(ctx context.Context, req *v1.Quan8AutologinReq) (res *v1.Quan8AutologinRes, err error)
|
||||
}
|
||||
|
||||
@ -58,3 +58,12 @@ type StoreLoginRes struct {
|
||||
g.Meta `mime:"application/json"`
|
||||
Token string `json:"token"`
|
||||
}
|
||||
|
||||
type Quan8AutologinReq struct {
|
||||
g.Meta `path:"/quan8/autologin" method:"post" tags:"PC/Auth" summary:"8圈用户自动登录该系统"`
|
||||
UUID string `json:"uuid" v:"required#UUID不能为空" dc:"UUID"`
|
||||
StoreId int64
|
||||
}
|
||||
type Quan8AutologinRes struct {
|
||||
Token string `json:"token"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user