This commit is contained in:
2025-09-05 21:16:21 +08:00
parent 4ae72d107c
commit 53155db139
5 changed files with 1555 additions and 777 deletions
+4 -4
View File
@@ -6,7 +6,7 @@
const ENV_CONFIG = {
// 开发环境
development: {
baseURL: 'https://dev-api.pet-ai.com',
baseURL: 'http://127.0.0.1:8080',
timeout: 30000
},
// 测试环境
@@ -33,8 +33,8 @@ export const HTTP_CONFIG = {
// 当前环境配置
...ENV_CONFIG[CURRENT_ENV],
// 登录页面路径
loginPage: '/pages/login/login',
// 登录页面路径(个人中心页面,点击头像登录)
loginPage: '/pages/profile/profile',
// 存储键名配置
storageKeys: {
@@ -59,7 +59,7 @@ export const NO_AUTH_APIS = [
// 用户认证相关
'/auth/login',
'/auth/register',
'/auth/wx-login',
'/wechat/user/mini/login',
'/auth/refresh',
// 公开浏览的接口