This commit is contained in:
liangzai 2025-06-03 16:12:12 +08:00
parent cb936ad30a
commit 9f51a4c403
2 changed files with 2 additions and 2 deletions

View File

@ -158,7 +158,7 @@ service main {
type ( type (
sendSmsReq { sendSmsReq {
Mobile string `json:"mobile" validate:"required,mobile"` Mobile string `json:"mobile" validate:"required,mobile"`
ActionType string `json:"actionType" validate:"required,oneof=login register query agentApply bindMobile"` ActionType string `json:"actionType" validate:"required,oneof=login register query agentApply realName bindMobile"`
} }
) )

View File

@ -565,5 +565,5 @@ type GetAppVersionResp struct {
type SendSmsReq struct { type SendSmsReq struct {
Mobile string `json:"mobile" validate:"required,mobile"` Mobile string `json:"mobile" validate:"required,mobile"`
ActionType string `json:"actionType" validate:"required,oneof=login register query agentApply bindMobile"` ActionType string `json:"actionType" validate:"required,oneof=login register query agentApply realName bindMobile"`
} }