Browse Source

feat:手机号非必填

wangshan 2 years ago
parent
commit
6125c69434
2 changed files with 2 additions and 2 deletions
  1. 1 1
      jyBXCore/api/bxcore.api
  2. 1 1
      jyBXCore/api/internal/types/types.go

+ 1 - 1
jyBXCore/api/bxcore.api

@@ -12,7 +12,7 @@ type (
 		UserType        string `path:"userType,optional"`
 		AppId           string `header:"appId"`
 		UserId          string `header:"userId"`
-		Phone           string `header:"phone"`
+		Phone           string `header:"phone,optional"`
 		NewUserId       string `header:"newUserId"`
 		EntId           int64  `header:"entId,optional"`
 		EntUserId       int64  `header:"entUserId,optional"`

+ 1 - 1
jyBXCore/api/internal/types/types.go

@@ -5,7 +5,7 @@ type SearchReq struct {
 	UserType        string `path:"userType,optional"`
 	AppId           string `header:"appId"`
 	UserId          string `header:"userId"`
-	Phone           string `header:"phone"`
+	Phone           string `header:"phone,optional"`
 	NewUserId       string `header:"newUserId"`
 	EntId           int64  `header:"entId,optional"`
 	EntUserId       int64  `header:"entUserId,optional"`