فهرست منبع

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 {