From 1b4829218d6166af5a70544c2c5b10e0d8250f21 Mon Sep 17 00:00:00 2001 From: 陆恒 Date: Thu, 30 Apr 2020 10:51:50 +0800 Subject: [PATCH] 提交 --- src/HttpServer/logic/httpserver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HttpServer/logic/httpserver.go b/src/HttpServer/logic/httpserver.go index 4e3747e..3f50972 100644 --- a/src/HttpServer/logic/httpserver.go +++ b/src/HttpServer/logic/httpserver.go @@ -90,7 +90,7 @@ func ClearData(w http.ResponseWriter, r *http.Request) { //首先检查白名单 rkey := "CATCAFE_REDIS_CAN_RESETDATA_LIST" - vv,err := redishandler.GetRedisClient().HGetAllValues(rkey) + vv,err := redishandler.GetRedisClient().HGetAllKeys(rkey) if err != nil { fmt.Fprint(w,"获取白名单失败!,请检查") } -- libgit2 0.21.0