فهرست منبع

feat:app修改

duxin 2 سال پیش
والد
کامیت
c8b4f786f6
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      jyBXBase/rpc/internal/logic/newestbiddinglogic.go
  2. 1 1
      jyBXBase/rpc/model/newestBidding.go

+ 1 - 1
jyBXBase/rpc/internal/logic/newestbiddinglogic.go

@@ -175,7 +175,7 @@ func (l *NewestBiddingLogic) NewestBidding(in *bxbase.NewestBiddingReq) (*bxbase
 			}
 		} else {
 			//未登录用户访问全部信息类型 需要过滤掉 拟建和采购意向
-			subtype = "招标预告,招标公告,招标结果,招标信用信息"
+			subtype = `"预告","公告","结果","其它"`
 		}
 		if in.IsSearch == 2 { //定位查询(默认全国)
 			query := model.NewestQuery(rks, "", subtype)

+ 1 - 1
jyBXBase/rpc/model/newestBidding.go

@@ -172,7 +172,7 @@ func NewestQuery(city, keys, subtype string) (str string) {
 	}
 	//未登录首页推送数据限制
 	if subtype != "" {
-		musts = append(musts, fmt.Sprintf(query_bool_must, "subtype", `"`+subtype+`"`))
+		musts = append(musts, fmt.Sprintf(query_bool_must, "subtype", subtype))
 	}
 	str = fmt.Sprintf(query_city_hkeys, strings.Join(musts, ","), strings.Join(bools, ","))
 	logx.Info("str:", str)