From 83ae8ce3fa04734658af66fc82833d696b3b9aa9 Mon Sep 17 00:00:00 2001 From: puhui999 Date: Thu, 3 Apr 2025 21:36:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9F=A5=E8=AF=A2=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E6=94=B9=E4=B8=BA=20any?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-antd/src/api/system/mail/account/index.ts | 4 ++-- apps/web-antd/src/api/system/mail/log/index.ts | 4 ++-- apps/web-antd/src/api/system/mail/template/index.ts | 4 ++-- apps/web-antd/src/api/system/sms/channel/index.ts | 6 +++--- apps/web-antd/src/api/system/sms/log/index.ts | 6 +++--- apps/web-antd/src/api/system/sms/template/index.ts | 6 +++--- 6 files changed, 15 insertions(+), 15 deletions(-) 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, });