diff --git a/apps/web-antd/src/api/system/mail/account/index.ts b/apps/web-antd/src/api/system/mail/account/index.ts index aca87d9e8..5c03f4f9b 100644 --- a/apps/web-antd/src/api/system/mail/account/index.ts +++ b/apps/web-antd/src/api/system/mail/account/index.ts @@ -1,4 +1,4 @@ -import type { PageParam, PageResult } from '@vben/request'; +import type { PageResult } from '@vben/request'; import { requestClient } from '#/api/request'; @@ -19,7 +19,7 @@ export namespace SystemMailAccountApi { } // 查询邮箱账号列表 -export const getMailAccountPage = async (params: PageParam) => { +export const getMailAccountPage = async (params: any) => { return await requestClient.get< PageResult >('/system/mail-account/page', { params }); diff --git a/apps/web-antd/src/api/system/mail/log/index.ts b/apps/web-antd/src/api/system/mail/log/index.ts index ed1285420..505ba471e 100644 --- a/apps/web-antd/src/api/system/mail/log/index.ts +++ b/apps/web-antd/src/api/system/mail/log/index.ts @@ -1,4 +1,4 @@ -import type { PageParam, PageResult } from '@vben/request'; +import type { PageResult } from '@vben/request'; import { requestClient } from '#/api/request'; @@ -25,7 +25,7 @@ export namespace SystemMailLogApi { } // 查询邮件日志列表 -export const getMailLogPage = async (params: PageParam) => { +export const getMailLogPage = async (params: any) => { return await requestClient.get>( '/system/mail-log/page', { params }, diff --git a/apps/web-antd/src/api/system/mail/template/index.ts b/apps/web-antd/src/api/system/mail/template/index.ts index bf83cc3c5..bf85bab97 100644 --- a/apps/web-antd/src/api/system/mail/template/index.ts +++ b/apps/web-antd/src/api/system/mail/template/index.ts @@ -1,4 +1,4 @@ -import type { PageParam, PageResult } from '@vben/request'; +import type { PageResult } from '@vben/request'; import { requestClient } from '#/api/request'; @@ -25,7 +25,7 @@ export namespace SystemMailTemplateApi { } // 查询邮件模版列表 -export const getMailTemplatePage = async (params: PageParam) => { +export const getMailTemplatePage = async (params: any) => { return await requestClient.get< PageResult >('/system/mail-template/page', { params }); diff --git a/apps/web-antd/src/api/system/sms/channel/index.ts b/apps/web-antd/src/api/system/sms/channel/index.ts index 9108eeffd..93be7aca7 100644 --- a/apps/web-antd/src/api/system/sms/channel/index.ts +++ b/apps/web-antd/src/api/system/sms/channel/index.ts @@ -1,4 +1,4 @@ -import type { PageParam, PageResult } from '@vben/request'; +import type { PageResult } from '@vben/request'; import { requestClient } from '#/api/request'; @@ -18,7 +18,7 @@ export namespace SystemSmsChannelApi { } /** 查询短信渠道列表 */ -export function getSmsChannelPage(params: PageParam) { +export function getSmsChannelPage(params: any) { return requestClient.get>( '/system/sms-channel/page', { params }, @@ -55,6 +55,6 @@ export function deleteSmsChannel(id: number) { } /** 导出短信渠道 */ -export function exportSmsChannel(params: SystemSmsChannelApi.SmsChannelVO) { +export function exportSmsChannel(params: any) { return requestClient.download('/system/sms-channel/export', { params }); } diff --git a/apps/web-antd/src/api/system/sms/log/index.ts b/apps/web-antd/src/api/system/sms/log/index.ts index c7448ef82..e4aa01796 100644 --- a/apps/web-antd/src/api/system/sms/log/index.ts +++ b/apps/web-antd/src/api/system/sms/log/index.ts @@ -1,4 +1,4 @@ -import type { PageParam, PageResult } from '@vben/request'; +import type { PageResult } from '@vben/request'; import { requestClient } from '#/api/request'; @@ -32,7 +32,7 @@ export namespace SystemSmsLogApi { } /** 查询短信日志列表 */ -export function getSmsLogPage(params: PageParam) { +export function getSmsLogPage(params: any) { return requestClient.get>( '/system/sms-log/page', { params }, @@ -40,6 +40,6 @@ export function getSmsLogPage(params: PageParam) { } /** 导出短信日志 */ -export function exportSmsLog(params: SystemSmsLogApi.SmsLogVO) { +export function exportSmsLog(params: any) { return requestClient.download('/system/sms-log/export-excel', { params }); } diff --git a/apps/web-antd/src/api/system/sms/template/index.ts b/apps/web-antd/src/api/system/sms/template/index.ts index 643197818..336398474 100644 --- a/apps/web-antd/src/api/system/sms/template/index.ts +++ b/apps/web-antd/src/api/system/sms/template/index.ts @@ -1,4 +1,4 @@ -import type { PageParam, PageResult } from '@vben/request'; +import type { PageResult } from '@vben/request'; import { requestClient } from '#/api/request'; @@ -28,7 +28,7 @@ export namespace SystemSmsTemplateApi { } /** 查询短信模板列表 */ -export function getSmsTemplatePage(params: PageParam) { +export function getSmsTemplatePage(params: any) { return requestClient.get>( '/system/sms-template/page', { params }, @@ -58,7 +58,7 @@ export function deleteSmsTemplate(id: number) { } /** 导出短信模板 */ -export function exportSmsTemplate(params: SystemSmsTemplateApi.SmsTemplateVO) { +export function exportSmsTemplate(params: any) { return requestClient.download('/system/sms-template/export-excel', { params, });