feat: openid login

This commit is contained in:
zzw
2026-09-02 17:37:12 +08:00
parent 540f74f9b7
commit bb14f9e324
38 changed files with 1627 additions and 1091 deletions
+4 -1
View File
@@ -109,7 +109,7 @@ function _M.access(conf, ctx)
ngx.req.set_header("X-Store-Id", tostring(json.store_id))
end
if json.sale_province then
ngx.req.set_header("X-Sale-Province", tostring(json.province))
ngx.req.set_header("X-Sale-Province", tostring(json.sale_province))
end
if json.sale_mobile then
ngx.req.set_header("X-Sale-Mobile", tostring(json.sale_mobile))
@@ -129,6 +129,9 @@ function _M.access(conf, ctx)
if json.type then
ngx.req.set_header("X-User-Type", tostring(json.type))
end
if json.client_code then
ngx.req.set_header("X-Client-Code", tostring(json.client_code))
end
end
ngx.req.set_header("X-Refresh", refresh or "")