Bläddra i källkod

feat:手机号非必填

wangshan 2 år sedan
förälder
incheckning
6125c69434
2 ändrade filer med 2 tillägg och 2 borttagningar
  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"`