This commit is contained in:
2024-09-19 14:39:18 +08:00
parent 2a8869d4b2
commit f66baa9dea
3 changed files with 32 additions and 1 deletions
+6
View File
@@ -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:"用户标识"`
}