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