更新模板

This commit is contained in:
2026-01-21 01:37:34 +08:00
parent b7be8c51bf
commit c5c73828bd
83 changed files with 8687 additions and 1235 deletions

View File

@@ -6,7 +6,7 @@ import { prod } from "./prod";
export const isDev = process.env.NODE_ENV == "development";
// 忽略 token 校验的接口路径
export const ignoreTokens: string[] = [];
export const ignoreTokens: string[] = ["/auth/", "/app/base/comm/param"];
// 微信配置
type WxConfig = {

View File

@@ -2,9 +2,9 @@ export const proxy = {
// 开发环境配置
dev: {
// 官方测试地址
target: "http://localhost:8001",
// target: "http://198.18.0.1:8001",
// 本地地址
// target: "http://127.0.0.1:8001",
target: "http://127.0.0.1:8001",
changeOrigin: true,
rewrite: (path: string) => path.replace("/dev", "")
},