diff --git a/src/api/system/tenant/index.ts b/src/api/system/tenant/index.ts index f09388d..a0fd2c3 100644 --- a/src/api/system/tenant/index.ts +++ b/src/api/system/tenant/index.ts @@ -181,7 +181,7 @@ export async function initialization(roleId?: number) { * 根据code查询租户 */ export async function getByCode(code: string) { - const res = await request.get( + const res = await request.get>( SERVER_API_URL + '/system/tenant/getByCode/' + code ); if (res.data.code === 0 && res.data.data) {