소스 검색

fix:首页行业报告修改

duxin 1 년 전
부모
커밋
0090496fac
1개의 변경된 파일0개의 추가작업 그리고 6개의 파일을 삭제
  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
 		}