改造env环境机制
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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';
|
||||
/**
|
||||
* 保存用户信息到本地存储
|
||||
|
||||
Reference in New Issue
Block a user