更新登录接口
CI / changes (push) Successful in 12s
CI / docker-bff (push) Has been skipped
CI / docker-product (push) Has been skipped
CI / docker-admin (push) Successful in 30s
CI / docker-user (push) Has been skipped
CI / docker-ad (push) Has been skipped
CI / docker-chore (push) Has been skipped
CI / docker-express (push) Has been skipped
CI / docker-sale (push) Has been skipped

This commit is contained in:
2026-08-28 16:34:16 +08:00
parent 4e470b527c
commit 23ea6659c2
5 changed files with 43 additions and 31 deletions
+7 -1
View File
@@ -112,7 +112,7 @@ function _M.access(conf, ctx)
ngx.req.set_header("X-Sale-Province", tostring(json.province))
end
if json.sale_mobile then
ngx.req.set_header("X-Sale-Mobile", tostring(json.mobile))
ngx.req.set_header("X-Sale-Mobile", tostring(json.sale_mobile))
end
if json.sale_name then
ngx.req.set_header("X-Sale-Name", json.sale_name)
@@ -123,6 +123,12 @@ function _M.access(conf, ctx)
if json.group_id then
ngx.req.set_header("X-Group-Id", tostring(json.group_id))
end
if json.group_name then
ngx.req.set_header("X-Group-Name", tostring(json.group_name))
end
if json.type then
ngx.req.set_header("X-User-Type", tostring(json.type))
end
end
ngx.req.set_header("X-Refresh", refresh or "")