Commit 1b4829218d6166af5a70544c2c5b10e0d8250f21

Authored by 陆恒
1 parent 501977fe
Exists in master

提交

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/HttpServer/logic/httpserver.go
... ... @@ -90,7 +90,7 @@ func ClearData(w http.ResponseWriter, r *http.Request) {
90 90  
91 91 //首先检查白名单
92 92 rkey := "CATCAFE_REDIS_CAN_RESETDATA_LIST"
93   - vv,err := redishandler.GetRedisClient().HGetAllValues(rkey)
  93 + vv,err := redishandler.GetRedisClient().HGetAllKeys(rkey)
94 94 if err != nil {
95 95 fmt.Fprint(w,"获取白名单失败!,请检查")
96 96 }
... ...