4444
This commit is contained in:
@@ -3,6 +3,7 @@ package requests
|
||||
type PublicRequest struct {
|
||||
GetPhoneCode // 获取手机验证码
|
||||
GetOssSign // 获取oss签名
|
||||
GetIndex // 获取首页数据
|
||||
}
|
||||
|
||||
// GetPhoneCode 获取手机验证码
|
||||
@@ -15,3 +16,8 @@ type GetPhoneCode struct {
|
||||
type GetOssSign struct {
|
||||
Scene int `json:"scene" form:"scene" validate:"required,oneof=1 2 3 4" label:"场景"` // (1:头像)
|
||||
}
|
||||
|
||||
// GetIndex 获取首页数据
|
||||
type GetIndex struct {
|
||||
UserId string `json:"user_id" form:"user_id" label:"用户标识"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user