mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-08 08:05:07 +08:00
feat: vue3 add sensms
This commit is contained in:
@ -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 })
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user