Răsfoiți Sursa

feat:放开未登录用户限制

duxin 2 ani în urmă
părinte
comite
4d7df5f059
2 a modificat fișierele cu 6 adăugiri și 6 ștergeri
  1. 3 3
      jyBXCore/api/bxcore.api
  2. 3 3
      jyBXCore/api/internal/types/types.go

+ 3 - 3
jyBXCore/api/bxcore.api

@@ -11,9 +11,9 @@ type (
 	searchReq {
 		UserType        string `path:"userType,optional"`
 		AppId           string `header:"appId"`
-		UserId          string `header:"userId"`
-		Phone           string `header:"phone"`
-		NewUserId       string `header:"newUserId"`
+		UserId          string `header:"userId,optional"`
+		Phone           string `header:"phone,optional"`
+		NewUserId       string `header:"newUserId,optional"`
 		EntId           int64  `header:"entId,optional"`
 		EntUserId       int64  `header:"entUserId,optional"`
 		PageNum         int64  `json:"pageNum,optional"`

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

@@ -4,9 +4,9 @@ package types
 type SearchReq struct {
 	UserType        string `path:"userType,optional"`
 	AppId           string `header:"appId"`
-	UserId          string `header:"userId"`
-	Phone           string `header:"phone"`
-	NewUserId       string `header:"newUserId"`
+	UserId          string `header:"userId,optional"`
+	Phone           string `header:"phone,optional"`
+	NewUserId       string `header:"newUserId,optional"`
 	EntId           int64  `header:"entId,optional"`
 	EntUserId       int64  `header:"entUserId,optional"`
 	PageNum         int64  `json:"pageNum,optional"`