From 7c3a3d7c7c2c218903636226de2b06aeb027c652 Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Thu, 29 Sep 2022 15:24:56 +0800 Subject: [PATCH] fix bug --- internal/demo/register/set_password.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/demo/register/set_password.go b/internal/demo/register/set_password.go index d57eca293..8244349c5 100644 --- a/internal/demo/register/set_password.go +++ b/internal/demo/register/set_password.go @@ -23,7 +23,7 @@ type ParamsSetPassword struct { PhoneNumber string `json:"phoneNumber"` Password string `json:"password"` VerificationCode string `json:"verificationCode"` - Platform int32 `json:"platform" binding:"required,min=1,max=7"` + Platform int32 `json:"platform" binding:"required,min=1,max=9"` Ex string `json:"ex"` OperationID string `json:"operationID" binding:"required"` }