技术分享 2026年05月22日 点大商城前端跨域问题处理 nginx配置文件: location / { if ($request_method = 'OPTIONS') { add_header Access-Control-Allow-Origin *; ...