Browse Source

新增redis缓存

hongze 3 years ago
parent
commit
116891d066
1 changed files with 2 additions and 0 deletions
  1. 2 0
      controllers/chart.go

+ 2 - 0
controllers/chart.go

@@ -44,6 +44,8 @@ func (this *ChartController) ChartInfoDetail() {
 					br.Success = true
 					br.Msg = "获取成功"
 					br.Data = resp
+					fmt.Println("source redis")
+					return
 				}
 			}
 		}