From 1d388f5993a0f37fa2d561123c0f9a2654995cbd Mon Sep 17 00:00:00 2001 From: zy <276996223@qq.com> Date: Wed, 5 Feb 2025 09:29:06 +0800 Subject: [PATCH] =?UTF-8?q?enterprise=E8=B7=AF=E7=94=B1=E5=8A=A0s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/enterprises/index.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/api/enterprises/index.ts b/src/api/enterprises/index.ts index ab443c4..dedc358 100644 --- a/src/api/enterprises/index.ts +++ b/src/api/enterprises/index.ts @@ -22,31 +22,31 @@ export interface EnterprisesVO { export const EnterprisesApi = { // 查询企业分页 getEnterprisesPage: async (params: any) => { - return await request.get({ url: `/system/enterprise/page`, params }) + return await request.get({ url: `/system/enterprises/page`, params }) }, // 查询企业详情 getEnterprises: async (id: number) => { - return await request.get({ url: `/system/enterprise/get?id=` + id }) + return await request.get({ url: `/system/enterprises/get?id=` + id }) }, // 新增企业 createEnterprises: async (data: EnterprisesVO) => { - return await request.post({ url: `/system/enterprise/create`, data }) + return await request.post({ url: `/system/enterprises/create`, data }) }, // 修改企业 updateEnterprises: async (data: EnterprisesVO) => { - return await request.put({ url: `/system/enterprise/update`, data }) + return await request.put({ url: `/system/enterprises/update`, data }) }, // 删除企业 deleteEnterprises: async (id: number) => { - return await request.delete({ url: `/system/enterprise/delete?id=` + id }) + return await request.delete({ url: `/system/enterprises/delete?id=` + id }) }, // 导出企业 Excel exportEnterprises: async (params) => { - return await request.download({ url: `/system/enterprise/export-excel`, params }) + return await request.download({ url: `/system/enterprises/export-excel`, params }) }, }