diff --git a/yudao-ui-admin-vue3/src/api/system/sms/smsTemplate/index.ts b/yudao-ui-admin-vue3/src/api/system/sms/smsTemplate/index.ts index b6dcc6a4a..26cc883c0 100644 --- a/yudao-ui-admin-vue3/src/api/system/sms/smsTemplate/index.ts +++ b/yudao-ui-admin-vue3/src/api/system/sms/smsTemplate/index.ts @@ -1,5 +1,5 @@ import { useAxios } from '@/hooks/web/useAxios' -import type { SmsTemplateVO, SmsSendVO } from './types' +import type { SmsTemplateVO } from './types' const request = useAxios() @@ -29,7 +29,7 @@ export const deleteSmsTemplateApi = (id: number) => { } // 发送短信 -export function sendSms(data: SmsSendVO) { +export const sendSmsApi = (data) => { return request.post({ url: '/system/sms-template/send-sms', data }) } diff --git a/yudao-ui-admin-vue3/src/views/system/sms/smsTemplate/index.vue b/yudao-ui-admin-vue3/src/views/system/sms/smsTemplate/index.vue index af54dd386..0c7438fcd 100644 --- a/yudao-ui-admin-vue3/src/views/system/sms/smsTemplate/index.vue +++ b/yudao-ui-admin-vue3/src/views/system/sms/smsTemplate/index.vue @@ -1,7 +1,7 @@