diff --git a/middleware/authenticate.lua b/middleware/authenticate.lua index 5c111d0..12aaf2a 100644 --- a/middleware/authenticate.lua +++ b/middleware/authenticate.lua @@ -1,13 +1,9 @@ -local auth_service = require("services.auth_service") -local response = require("lib.response") - local _M = {} function _M:handle() - if not auth_service:check() then - return false, response:json(0x000004, '未登录') - end - return true + -- if not auth_service:check() then + -- return false, response:json(0x000004) + -- end end return _M \ No newline at end of file