소스 검색

api企业标识必填修改

WH01243 2 년 전
부모
커밋
a74b9279bf
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      jyBXSubscribe/api/bxsubscribe.api
  2. 1 1
      jyBXSubscribe/api/internal/types/types.go

+ 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 {