Ver Fonte

fix: api error

xingyu há 2 anos atrás
pai
commit
6b7d092c29
1 ficheiros alterados com 1 adições e 1 exclusões
  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 })
 }