wangshan преди 3 години
родител
ревизия
a0169ce8b9

+ 7 - 0
jyBXBase/README.md

@@ -7,4 +7,11 @@ https://yapi.jydev.jianyu360.com/project/63/interface/api/cat_112
 #
 ```
 #jyBXAdditional 标讯基础模块(标讯收藏、标讯搜索筛选等)
+```
+
+```
+1、招标信息收藏相关接口
+2、招标信息标签相关接口
+3、招标信息搜索条件筛选相关接口
+4、移动端首页最新标讯接口
 ```

+ 4 - 0
jyBXBuyer/README.md

@@ -7,4 +7,8 @@ https://yapi.jydev.jianyu360.com/project/63/interface/api/cat_224
 #
 ```
 #jyBXBuyer 标讯采购单位(采购单位画像、采购单位列表等)
+```
+
+```
+1、采购单位搜索接口
 ```

+ 2 - 2
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   `header:"appId"`                   //剑鱼10000
+		AppId          string   `header:"appId"`                 //剑鱼10000
 		UserType       string   `path:"userType"`                //用户标签
 		IsCheckFollow  bool     `json:"isCheckFollow,optional"`  //是否查询关注信息(商机管理用户)
 		IsCheckReceive bool     `json:"isCheckReceive,optional"` //是否查询已领取(商机管理用户)
@@ -35,6 +35,6 @@ type (
 	}
 )
 service bxbuyer-api {
-	@handler searchList
+	@handler buyerSearchList
 	post /jybx/buyer/:userType/buyerList(buyerListReq) returns (commonResp)
 }

+ 3 - 3
jyBXBuyer/api/internal/handler/searchListHandler.go → jyBXBuyer/api/internal/handler/buyerSearchListHandler.go

@@ -9,7 +9,7 @@ import (
 	"jyBXBuyer/api/internal/types"
 )
 
-func searchListHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
+func buyerSearchListHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
 	return func(w http.ResponseWriter, r *http.Request) {
 		var req types.BuyerListReq
 		if err := httpx.Parse(r, &req); err != nil {
@@ -17,8 +17,8 @@ func searchListHandler(svcCtx *svc.ServiceContext) http.HandlerFunc {
 			return
 		}
 
-		l := logic.NewSearchListLogic(r.Context(), svcCtx, r)
-		resp, err := l.SearchList(&req)
+		l := logic.NewBuyerSearchListLogic(r.Context(), svcCtx, r)
+		resp, err := l.BuyerSearchList(&req)
 		if err != nil {
 			httpx.Error(w, err)
 		} else {

+ 1 - 1
jyBXBuyer/api/internal/handler/routes.go

@@ -15,7 +15,7 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
 			{
 				Method:  http.MethodPost,
 				Path:    "/jybx/buyer/:userType/buyerList",
-				Handler: searchListHandler(serverCtx),
+				Handler: buyerSearchListHandler(serverCtx),
 			},
 		},
 	)

+ 4 - 4
jyBXBuyer/api/internal/logic/searchListLogic.go → jyBXBuyer/api/internal/logic/buyerSearchListLogic.go

@@ -11,15 +11,15 @@ import (
 	"github.com/zeromicro/go-zero/core/logx"
 )
 
-type SearchListLogic struct {
+type BuyerSearchListLogic struct {
 	logx.Logger
 	ctx    context.Context
 	svcCtx *svc.ServiceContext
 	r      *http.Request
 }
 
-func NewSearchListLogic(ctx context.Context, svcCtx *svc.ServiceContext, r *http.Request) *SearchListLogic {
-	return &SearchListLogic{
+func NewBuyerSearchListLogic(ctx context.Context, svcCtx *svc.ServiceContext, r *http.Request) *BuyerSearchListLogic {
+	return &BuyerSearchListLogic{
 		Logger: logx.WithContext(ctx),
 		ctx:    ctx,
 		svcCtx: svcCtx,
@@ -27,7 +27,7 @@ func NewSearchListLogic(ctx context.Context, svcCtx *svc.ServiceContext, r *http
 	}
 }
 
-func (l *SearchListLogic) SearchList(req *types.BuyerListReq) (resp *types.CommonResp, err error) {
+func (l *BuyerSearchListLogic) BuyerSearchList(req *types.BuyerListReq) (resp *types.CommonResp, err error) {
 	if req.EntUserId == "" {
 		req.IsCheckReceive = false
 	}

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

@@ -8,7 +8,7 @@ type BuyerListReq struct {
 	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"` //是否查询已领取(商机管理用户)

+ 5 - 0
jyBXCore/README.md

@@ -7,4 +7,9 @@ https://yapi.jydev.jianyu360.com/project/63/interface/api/cat_96
 #
 ```
 #jyBXCore 标讯核心模块(搜索、详情、项目关注等)
+```
+
+```
+1、搜索列表接口
+2、全文和附件搜索限制接口
 ```

+ 14 - 0
jyBXSubscribe/README.md

@@ -7,4 +7,18 @@ https://yapi.jydev.jianyu360.com/project/63/interface/api/cat_104
 #
 ```
 #jyBXSubscribe 标讯订阅模块
+```
+
+#
+```
+1、订阅列表接口
+2、订阅相关信息接口:
+    1.免费用户和超级订阅是否有订阅词
+    2.是否进入向导
+    3.超级订阅到期提醒
+    4.超级订阅试用状态
+    5.推送数量校验
+    6.首次用户推送查询“其他”
+    7.某个通知??是否已读
+    8.会员订阅的行业
 ```