order apis
This commit is contained in:
@@ -108,6 +108,12 @@ function _M.access(conf, ctx)
|
||||
if json.store_id then
|
||||
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))
|
||||
end
|
||||
if json.sale_mobile then
|
||||
ngx.req.set_header("X-Sale-Mobile", tostring(json.mobile))
|
||||
end
|
||||
if json.sale_name then
|
||||
ngx.req.set_header("X-Sale-Name", json.sale_name)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user