Explorar o código

api企业标识必填修改

WH01243 %!s(int64=2) %!d(string=hai) anos
pai
achega
a74b9279bf

+ 1 - 1
jyBXSubscribe/api/bxsubscribe.api

@@ -36,7 +36,7 @@ type (
 		AppId     string `header:"appId"`
 		UserType  string `path:"userType"`
 		NewUserId int64  `header:"newUserId"`
-		EntId     string `header:"entId"`
+		EntId     string `header:"entId,optional"`
 	}
 	//
 	commonResp {

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

@@ -28,7 +28,7 @@ type SomeInfoReq struct {
 	AppId     string `header:"appId"`
 	UserType  string `path:"userType"`
 	NewUserId int64  `header:"newUserId"`
-	EntId     string `header:"entId"`
+	EntId     string `header:"entId,optional"`
 }
 
 type CommonResp struct {