# busiSystem **Repository Path**: huige9999/busi-system ## Basic Information - **Project Name**: busiSystem - **Description**: 商户系统 - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-05-06 - **Last Updated**: 2025-02-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 项目名 商户管理系统 ## 项目介绍 技术栈:vue3+vite+element-plus+sass+echarts+pinia ## 依赖安装 npm install ## 项目启动 npm run dev ## 项目打包 npm run build:release ### 账号密码 27.102.118.160:90 27.102.118.160:91 账号:huapinghui.com 密码:huapinghui 任务2 47.237.0.4:90 47.237.0.4:91 账号:smoothfinch.com 密码:smoothfinch 66669999 http://api.superxpay.com/home http://www.api.superxpay.com/home /www/wwwroot/smoFront/Merchant location ~ (.*\.json) { root /www/wwwroot/smoFront/Merchant; error_page 405 =200 $1; } error_page 405 =200 @405; location @405 { root /www/wwwroot/smoFront/Merchant; proxy_method GET; proxy_pass http://backend_server; } location / { if ($request_method !~ ^(GET|POST)$ ) { return 405; } } nginx version: nginx/1.22.1 nginx: [emerg] host not found in upstream "static_backend" in /www/server/nginx/conf/nginx.conf:82 nginx: configuration file /www/server/nginx/conf/nginx.conf test failed location /api/ { # 允许 POST 请求 if ($request_method = 'OPTIONS') { add_header 'Access-Control-Allow-Origin' '*'; add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; add_header 'Access-Control-Allow-Headers' 'Content-Type, Authorization'; add_header 'Access-Control-Max-Age' 1728000; add_header 'Content-Type' 'text/plain; charset=utf-8'; add_header 'Content-Length' 0; return 204; } # 允许 POST 请求 if ($request_method = 'POST') { add_header 'Access-Control-Allow-Origin' '*'; add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; add_header 'Access-Control-Allow-Headers' 'Content-Type, Authorization'; } # 代理到后端服务 proxy_pass http://backend_server; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; }