浏览代码

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 {