瀏覽代碼

feat:p397 list页面调整

fuwencai 1 年之前
父節點
當前提交
a1de66f8d4
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      src/jfw/front/pcIndex.go

+ 2 - 3
src/jfw/front/pcIndex.go

@@ -541,9 +541,9 @@ func (f *PcIndex) SearchResult(at, name string) error {
 		query1 += `],"should": [],"minimum_should_match": 0}}}`
 		//p353包含采购意向与拟建
 		//获取到昨天数据
-		if stype == "" && userId == "" {
+		if stype == "" {
 			// stype = "招标预告,招标公告,招标结果,招标信用信息"
-			// p397 未登录用户收回拟建权限
+			// p397 不查拟建
 			stype = "招标,询价,竞谈,变更,单一,竞价,邀标,成交,中标,废标,流标,结果变更,合同,验收,违规,预告,需求公示,预审,论证意见,预审结果"
 		}
 		var datas *[]map[string]interface{}
@@ -571,7 +571,6 @@ func (f *PcIndex) SearchResult(at, name string) error {
 				}
 			}
 			timeout := util.IntAllDef(config.Sysconfig["pcIndexHotCacheTime"], 7200)
-			// todo 登录和未登录用不用分开存缓存
 			redis.Put("other", "classify_"+name, datas, timeout)
 		} else {
 			b, _ := json.Marshal(list)