fix(frontend): uniapp devServer 代理指向 Swoole 20199;精简 admin 启动文案

- vue.config.js: /api、/uploads、/statics 的 proxy target 改为 http://127.0.0.1:20199,与本地 API 一致
- admin start.js: 去掉 CRMEB 外链提示,保留简短欢迎语

Made-with: Cursor
This commit is contained in:
apple
2026-03-24 23:09:09 +08:00
parent 8592243d36
commit 89af372416
2 changed files with 4 additions and 16 deletions

View File

@@ -6,18 +6,6 @@ const chalk = require("chalk");
console.log( console.log(
chalk chalk
.hex("#DEADED") .hex("#DEADED")
.underline("😄 Hello ~ 欢迎使用CRMEB Pro版我们将竭诚为您服务") .underline("😄 Hello ~ 欢迎使用Pro版我们将竭诚为您服务")
);
console.log(
chalk.yellow("[提示] 点击这里可以我们的更多产品~ ") +
chalk.blue.underline("https://www.crmeb.com")
);
console.log(
chalk.yellow("[提示] 点击这里可以查看开发文档喔~ ") +
chalk.blue.underline("https://doc.crmeb.com")
);
console.log(
chalk.yellow("[提示] 点击这里可以进入我们的论坛社区~ ") +
chalk.blue.underline("https://www.crmeb.com/ask")
); );
console.log(chalk.blue("info - [你知道吗?] 按 Ctrl+C 可以停止服务呢~")); console.log(chalk.blue("info - [你知道吗?] 按 Ctrl+C 可以停止服务呢~"));

View File

@@ -4,15 +4,15 @@ module.exports = {
port: 8080, port: 8080,
proxy: { proxy: {
'/api': { '/api': {
target: 'http://127.0.0.1', target: 'http://127.0.0.1:20199',
changeOrigin: true changeOrigin: true
}, },
'/uploads': { '/uploads': {
target: 'http://127.0.0.1', target: 'http://127.0.0.1:20199',
changeOrigin: true changeOrigin: true
}, },
'/statics': { '/statics': {
target: 'http://127.0.0.1', target: 'http://127.0.0.1:20199',
changeOrigin: true changeOrigin: true
} }
} }