新增了获取oss签名
This commit is contained in:
@@ -2,6 +2,7 @@ package requests
|
||||
|
||||
type PublicRequest struct {
|
||||
GetPhoneCode // 获取手机验证码
|
||||
GetOssSign // 获取oss签名
|
||||
}
|
||||
|
||||
// GetPhoneCode 获取手机验证码
|
||||
@@ -9,3 +10,8 @@ type GetPhoneCode struct {
|
||||
Phone string `json:"phone" form:"phone" label:"手机号" validate:"required,Mobile"`
|
||||
Scene int `json:"scene" form:"scene" label:"场景值" validate:"required,number,min=1,max=1"`
|
||||
}
|
||||
|
||||
// GetOssSign 获取oss签名
|
||||
type GetOssSign struct {
|
||||
Scene int `json:"scene" form:"scene" validate:"required,oneof=1 2 3 4" label:"场景"` // (1:头像 2:证书 3:名片)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user