改造env环境机制

This commit is contained in:
2025-07-25 18:39:35 +08:00
parent c3eb7b63b2
commit de8f33055d
11 changed files with 950 additions and 10 deletions

View File

@@ -129,7 +129,7 @@ export async function removeBatchTenant(data: (number | undefined)[]) {
*/
export async function updateTenantPassword(
tenantId?: number,
password = 'gxwebsoft.com'
password?: string
) {
const res = await request.put<ApiResult<unknown>>(
SERVER_API_URL + '/system/tenant/password',

View File

@@ -1,10 +1,10 @@
import Taro from '@tarojs/taro';
import {User} from "@/api/system/user/model";
// 模版套餐ID
export const TEMPLATE_ID = 10258;
// 服务接口
export const SERVER_API_URL = 'https://server.gxwebsoft.com/api';
// 模版套餐ID - 请根据实际情况修改
export const TEMPLATE_ID = 'YOUR_TEMPLATE_ID';
// 服务接口 - 请根据实际情况修改
export const SERVER_API_URL = 'https://your-server-domain.com/api';
// export const SERVER_API_URL = 'http://127.0.0.1:8000/api';
/**
* 保存用户信息到本地存储