Browse Source

fix:首页行业报告修改

duxin 1 năm trước cách đây
mục cha
commit
0090496fac
1 tập tin đã thay đổi với 0 bổ sung6 xóa
  1. 0 6
      src/jfw/front/hybg.go

+ 0 - 6
src/jfw/front/hybg.go

@@ -84,11 +84,6 @@ func (l *DeskAnalysisReport) DeskReport() {
 	userId := gconv.String(l.GetSession("userId"))
 	mgoUserId := gconv.String(l.GetSession("mgoUserId"))
 	rData := func() interface{} {
-		res := redis.Get("limitation", "user_desk_report")
-		if res != nil {
-			resData, _ := res.([]interface{})
-			return qutil.ObjArrToMapArr(resData)
-		}
 		data, ok := mongodb.FindOne("saleLeads", map[string]interface{}{
 			"userid": userId,
 			"source": "app_xzcyh",
@@ -182,7 +177,6 @@ func (l *DeskAnalysisReport) DeskReport() {
 				dataArrMap = append(dataArrMap, map[string]interface{}{"title": title,
 					"url": fmt.Sprintf("/hybg/%s.html", gconv.String(row["id"]))})
 			}
-			redis.Put("limitation", "user_desk_report", dataArrMap, 24*3600)
 			return dataArrMap
 		}