From 57e04be304fa60e900da089f394534869f32f44a Mon Sep 17 00:00:00 2001 From: zzw <1464003642@qq.com> Date: Tue, 18 Aug 2026 11:58:44 +0800 Subject: [PATCH] fix: apisix auth --- deploy/apisix/lua/auth.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/deploy/apisix/lua/auth.lua b/deploy/apisix/lua/auth.lua index 3b4865b..bea8aa3 100644 --- a/deploy/apisix/lua/auth.lua +++ b/deploy/apisix/lua/auth.lua @@ -60,6 +60,11 @@ function _M.access(conf, ctx) end local res, err = red:get(redis_key) + core.log.error("AUTH_DEBUG host=", redis_host, + " port=", redis_port, + " password=", redis_password, + " db=", redis_db, + " key=[", redis_key, "] err=[", tostring(err), "] res=[", tostring(res), "]") red:set_keepalive(10000, 100) if err or res == ngx.null then return core.response.exit(200, {code = 10003, message = "未登录或登录已过期"})