小程序初始提交

This commit is contained in:
jdc
2025-11-13 10:36:23 +08:00
parent f26b4f9a2f
commit 5db3b180eb
447 changed files with 83351 additions and 0 deletions

21
cool-unix/config/proxy.ts Normal file
View File

@@ -0,0 +1,21 @@
export const proxy = {
// 开发环境配置
dev: {
// 官方测试地址
// target: "https://show.cool-admin.com/api",
// 本地地址
target: "http://127.0.0.1:8001",
changeOrigin: true,
rewrite: (path: string) => path.replace("/dev", "")
},
// 生产环境配置
prod: {
// 官方测试地址
target: "https://show.cool-admin.com",
changeOrigin: true,
rewrite: (path: string) => path.replace("/prod", "/api")
}
};
export const value = "dev";