Browse Source

feat:header

wangshan 3 years ago
parent
commit
9349a1720a
3 changed files with 5 additions and 5 deletions
  1. 1 1
      jyBXBuyer/api/bxbuyer.api
  2. 2 2
      jyBXCore/api/bxcore.api
  3. 2 2
      jyBXSubscribe/api/bxsubscribe.api

+ 1 - 1
jyBXBuyer/api/bxbuyer.api

@@ -15,7 +15,7 @@ type (
 		Industry       []string `json:"industry,optional"`       //行业分类(信息行业)
 		BusinessScope  string   `json:"businessScope,optional"`  //业务范围(关键词 附加词 排除词)
 		BuyerName      string   `json:"buyerName,optional"`      //采购单位名称
-		AppId          string   `json:"appId"`                   //剑鱼10000
+		AppId          string   `header:"appId"`                   //剑鱼10000
 		UserType       string   `path:"userType"`                //用户标签
 		IsCheckFollow  bool     `json:"isCheckFollow,optional"`  //是否查询关注信息(商机管理用户)
 		IsCheckReceive bool     `json:"isCheckReceive,optional"` //是否查询已领取(商机管理用户)

+ 2 - 2
jyBXCore/api/bxcore.api

@@ -9,7 +9,7 @@ info (
 
 type (
 	searchReq {
-		AppId          string `json:"appId"`
+		AppId          string `header:"appId"`
 		PageNum        int64  `json:"pageNum"`
 		PageSize       int64  `json:"pageSize"`
 		KeyWords       string `json:"keyWords"`
@@ -36,7 +36,7 @@ type (
 	}
 	//
 	searchLimitReq {
-		AppId      string `json:"appId"`      //appid
+		AppId      string `header:"appId"`      //appid
 		TimeOut    int64  `json:"timeOut"`    //过滤过期时间
 		Count      int64  `json:"count"`      //并发量
 		Flag       int64  `json:"flag"`       //开关 1:打开;-1:关闭;-2:重置

+ 2 - 2
jyBXSubscribe/api/bxsubscribe.api

@@ -10,7 +10,7 @@ info (
 type (
 	//订阅列表
 	subscribeReq {
-		AppId      string `json:"appId"`
+		AppId      string `header:"appId"`
 		PageNum    int64  `json:"pageNum,optional"`
 		PageSize   int64  `json:"pageSize"`
 		SelectTime string `json:"selectTime"`
@@ -26,7 +26,7 @@ type (
 	}
 	//
 	someInfoReq {
-		AppId    string `json:"appId"`
+		AppId    string `header:"appId"`
 		UserType string `path:"userType"`
 	}
 	//