完善客户画像,品牌分析

This commit is contained in:
ZLI263
2025-09-21 21:25:28 +08:00
parent 3c9b01f639
commit 0eef93e0d4
7 changed files with 756 additions and 452 deletions

View File

@@ -31,12 +31,12 @@ module.exports = {
productionSourceMap: false,
devServer: {
port: port,
open: true,
open: false, // 禁用自动打开浏览器
overlay: {
warnings: false,
errors: true
},
// before: require('./mock/mock-server.js'), // 注释掉 mock 服务器
// before: require('./mock/mock-server.js'), // 启用 mock 服务器
watchOptions: {
ignored: [
'**/node_modules/**',
@@ -56,12 +56,15 @@ module.exports = {
},
proxy: {
'/api': {
target: 'http://localhost:9060', // 从环境变量获取后端服务器地址
target: 'http://localhost:9060', // 本地后端服务器地址
// target: 'https://api.huayang-star.com/', // 生产环境后端地址
changeOrigin: true,
pathRewrite: {
'^/api': '/api' // 保持 /api 前缀
},
logLevel: 'debug' // 开发环境下显示代理日志
logLevel: 'debug', // 开发环境下显示代理日志
secure: false, // 如果是https忽略证书验证
timeout: 10000 // 设置超时时间
}
}
},