Explorar o código

fix: api error

xingyu %!s(int64=2) %!d(string=hai) anos
pai
achega
6b7d092c29
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/api/system/notify/template/index.ts

+ 1 - 1
src/api/system/notify/template/index.ts

@@ -39,7 +39,7 @@ export const updateNotifyTemplate = async (data: NotifyTemplateVO) => {
 }
 
 // 删除站内信模板
-export const deleteNotifyTemplateApi = async (id: number) => {
+export const deleteNotifyTemplate = async (id: number) => {
   return await request.delete({ url: '/system/notify-template/delete?id=' + id })
 }