feat: aliyun sms

This commit is contained in:
zzw
2026-09-03 17:11:34 +08:00
parent 493416551b
commit 73a5fa41ff
17 changed files with 488 additions and 50 deletions
+6 -4
View File
@@ -11,10 +11,12 @@ function _M.access(conf, ctx)
core.log.info("REQUEST_DEBUG: uri = "..request_uri)
local white_list = {
["/api/v3/login"] = true,
["/admin/v3/login"] = true,
["/admin/v3/refresh"] = true,
["/api/v3/version"] = true,
["/api/v3/sms/send"] = true,
["/api/v3/login"] = true,
["/api/v3/version"] = true,
["/admin/v3/login"] = true,
["/admin/v3/refresh"] = true,
}
local user_key = core.request.header(ctx, "authorization")