Prechádzať zdrojové kódy

feat:未登录用户NewUserId修改为非必传字段

duxin 2 rokov pred
rodič
commit
78d74e642d

+ 1 - 1
jyBXBase/api/bxbase.api

@@ -95,7 +95,7 @@ type (
 		UserId    string `header:"userId,optional"`    //用户id
 		AppId     string `header:"appId"`              //appId
 		EntUserId string `header:"entUserId,optional"` //商机管理用户 用户id:entUserId
-		NewUserId int64  `header:"newUserId"`
+		NewUserId int64  `header:"newUserId,optional"`
 		EntId     string `header:"entId,optional"`
 	}
 	//公共接口返回

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

@@ -86,7 +86,7 @@ type NewestReq struct {
 	UserId    string `header:"userId,optional"`    //用户id
 	AppId     string `header:"appId"`              //appId
 	EntUserId string `header:"entUserId,optional"` //商机管理用户 用户id:entUserId
-	NewUserId int64  `header:"newUserId"`
+	NewUserId int64  `header:"newUserId,optional"`
 	EntId     string `header:"entId,optional"`
 }
 

+ 1 - 1
jyBXCore/rpc/etc/bxcore.yaml

@@ -17,7 +17,7 @@ LimitSearchText:
   Count: 40
   TimeOut: 60
   Percentage: 80
-  NoLogin: 300
+  NoLogin: 1
   UserIds:
     - 581858dbc9ebc2132200002e
     - 5cc02842c9ebc2227593893d