From 242ca313a005256dc313dea8d822d9411af25b09 Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Tue, 17 Nov 2020 17:17:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=8E=A5=E5=8F=A3=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/learn.js | 8 ++++---- src/views/newMap/displayNew/demon/messageBoard.vue | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/api/learn.js b/src/api/learn.js index 209b7061d..92c237b01 100644 --- a/src/api/learn.js +++ b/src/api/learn.js @@ -35,14 +35,14 @@ export function commentComents(messageId, commentId, data) { // 管理员删除留言 export function deleteMessageByAdmin(messageId) { return request({ - url: `/api/learn/${messageId}/delete/admin`, + url: `/api/learn/${messageId}/deleteMessage/admin`, method: 'delete' }); } // 用户自己删除留言 export function deleteMessageBySelf(messageId) { return request({ - url: `/api/learn/${messageId}/delete/user`, + url: `/api/learn/${messageId}/deleteMessage/user`, method: 'delete' }); } @@ -56,14 +56,14 @@ export function queryMessageCommentList(messageId) { // 删除评论回复管理员 export function deleteCommentByAdmin(commentId) { return request({ - url: `/api/learn/${commentId}/delete/admin`, + url: `/api/learn/${commentId}/deleteComment/admin`, method: 'delete' }); } // 删除评论回复用户 export function deleteCommentBySelf(commentId) { return request({ - url: `/api/learn/${commentId}/delete/user`, + url: `/api/learn/${commentId}/deleteComment/user`, method: 'delete' }); } diff --git a/src/views/newMap/displayNew/demon/messageBoard.vue b/src/views/newMap/displayNew/demon/messageBoard.vue index 739a2d39f..5df592e97 100644 --- a/src/views/newMap/displayNew/demon/messageBoard.vue +++ b/src/views/newMap/displayNew/demon/messageBoard.vue @@ -20,8 +20,8 @@
- - + +