Browse Source

fit:标签搜索

wangshan 3 years ago
parent
commit
56ae32d7b2
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/jfw/front/supsearch.go

+ 3 - 1
src/jfw/front/supsearch.go

@@ -245,7 +245,9 @@ func (p *Pcsearch) PcSearchIndex() error {
 	subtype := p.GetString("subtype")                      //信息类型
 	subtype := p.GetString("subtype")                      //信息类型
 	minprice := p.GetString("minprice")                    //最低价格
 	minprice := p.GetString("minprice")                    //最低价格
 	maxprice := p.GetString("maxprice")                    //最高价格
 	maxprice := p.GetString("maxprice")                    //最高价格
-
+	if publishtime == "" {
+		publishtime = "thisyear"
+	}
 	userId, _ := p.GetSession("userId").(string)
 	userId, _ := p.GetSession("userId").(string)
 
 
 	//高级筛选 仅vip用户可查询
 	//高级筛选 仅vip用户可查询