Преглед на файлове

Merge branch 'feature/v4.8.40_wky' of qmx/jy into feature/v4.8.40

wangkaiyue преди 2 години
родител
ревизия
e9cc78d0db
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/jfw/front/tags.go

+ 1 - 1
src/jfw/front/tags.go

@@ -656,7 +656,7 @@ func (this *Tags) GetBidding(industry, area, city, stype, keyword string, reques
 	rediskey := fmt.Sprintf("pcseo_getbidding_%s_%s_%s_%s_%s", industry, area, city, stype, keyword)
 	rediskeyCount := fmt.Sprintf("pcseo_getbidding_count_%s_%s_%s_%s_%s", industry, area, city, stype, keyword)
 
-	if l, ok := redis.Get("seoCache", rediskey).([]interface{}); ok && l != nil && false {
+	if l, ok := redis.Get("seoCache", rediskey).([]interface{}); ok && l != nil {
 		count := redis.GetInt("seoCache", rediskeyCount)
 		return qu.ObjArrToMapArr(l), int64(count), false
 	} else {