wangshan 3 жил өмнө
parent
commit
07091be886

+ 1 - 1
jyBXBase/api/bxbase.api

@@ -71,7 +71,7 @@ type (
 	AddSearchScreen {
 		UserId       string `header:"userId"`
 		AppId        string `header:"appId"` //appId
-		Type         string `header:"type,,optional"`
+		Type         string `header:"type,optional"`
 		Keywords     string `json:"searchvalue"`         //搜索词
 		Publishtime  string `json:"publishtime"`         //发布时间
 		City         string `json:"city,optional"`       //城市

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

@@ -62,7 +62,7 @@ type DelSearchScreen struct {
 type AddSearchScreen struct {
 	UserId       string `header:"userId"`
 	AppId        string `header:"appId"` //appId
-	Type         string `header:"type,,optional"`
+	Type         string `header:"type,optional"`
 	Keywords     string `json:"searchvalue"`         //搜索词
 	Publishtime  string `json:"publishtime"`         //发布时间
 	City         string `json:"city,optional"`       //城市

+ 10 - 10
jyBXSubscribe/api/bxsubscribe.api

@@ -12,16 +12,16 @@ type (
 	subscribeReq {
 		AppId      string `header:"appId"`
 		PageNum    int64  `json:"pageNum,optional"`
-		PageSize   int64  `json:"pageSize"`
-		SelectTime string `json:"selectTime"`
-		Area       string `json:"area"`
-		City       string `json:"city"`
-		Industry   string `json:"industry"`
-		BuyerClass string `json:"buyerClass"`
-		KeyWords   string `json:"keyWords"`
-		Subtype    string `json:"subtype"`
-		Price      string `json:"price"`
-		FileExists string `json:"fileExists"`
+		PageSize   int64  `json:"pageSize,optional"`
+		SelectTime string `json:"selectTime,optional"`
+		Area       string `json:"area,optional"`
+		City       string `json:"city,optional"`
+		Industry   string `json:"industry,optional"`
+		BuyerClass string `json:"buyerClass,optional"`
+		KeyWords   string `json:"keyWords,optional"`
+		Subtype    string `json:"subtype,optional"`
+		Price      string `json:"price,optional"`
+		FileExists string `json:"fileExists,optional"`
 		UserType   string `path:"userType,default=fType,options=fType|vType|mType|eType"` //fType:普通用户;vType:超级订阅用户;mType:大会员用户;eType:商机管理用户;
 	}
 	//

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

@@ -2,23 +2,23 @@
 package types
 
 type SubscribeReq struct {
-	AppId      string `json:"appId"`
+	AppId      string `header:"appId"`
 	PageNum    int64  `json:"pageNum,optional"`
-	PageSize   int64  `json:"pageSize"`
-	SelectTime string `json:"selectTime"`
-	Area       string `json:"area"`
-	City       string `json:"city"`
-	Industry   string `json:"industry"`
-	BuyerClass string `json:"buyerClass"`
-	KeyWords   string `json:"keyWords"`
-	Subtype    string `json:"subtype"`
-	Price      string `json:"price"`
-	FileExists string `json:"fileExists"`
+	PageSize   int64  `json:"pageSize,optional"`
+	SelectTime string `json:"selectTime,optional"`
+	Area       string `json:"area,optional"`
+	City       string `json:"city,optional"`
+	Industry   string `json:"industry,optional"`
+	BuyerClass string `json:"buyerClass,optional"`
+	KeyWords   string `json:"keyWords,optional"`
+	Subtype    string `json:"subtype,optional"`
+	Price      string `json:"price,optional"`
+	FileExists string `json:"fileExists,optional"`
 	UserType   string `path:"userType,default=fType,options=fType|vType|mType|eType"` //fType:普通用户;vType:超级订阅用户;mType:大会员用户;eType:商机管理用户;
 }
 
 type SomeInfoReq struct {
-	AppId    string `json:"appId"`
+	AppId    string `header:"appId"`
 	UserType string `path:"userType"`
 }