新增:移动配置文件

This commit is contained in:
2025-07-24 20:26:16 +08:00
parent c94eb1dcd1
commit c3eb7b63b2
12 changed files with 14 additions and 13 deletions

View File

@@ -1,11 +1,11 @@
import Taro from '@tarojs/taro'
import {BaseUrl, TenantId} from "@/utils/config";
import {BaseUrl, TenantId} from "@/config/app";
let baseUrl = BaseUrl
// 开发环境
if(process.env.NODE_ENV === 'development'){
baseUrl = 'http://localhost:9000/api'
// baseUrl = 'http://localhost:9000/api'
}
export function request<T>(options:any) {
const token = Taro.getStorageSync('access_token');