From 9ff66017debadfc89bc0c1b796684a4d1dbe2bc3 Mon Sep 17 00:00:00 2001 From: fangyuan <527392886@qq.com> Date: 星期五, 16 十二月 2022 10:00:02 +0800 Subject: [PATCH] 已上报到市批量操作按钮隐藏 --- src/api/operate/messageManagement.js | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/api/operate/messageManagement.js b/src/api/operate/messageManagement.js index b6063d3..ab03b98 100644 --- a/src/api/operate/messageManagement.js +++ b/src/api/operate/messageManagement.js @@ -1,7 +1,7 @@ import http from "@/http"; export function deleteMessage(params) { - return http.post('/sccg/message/delete', params); + return http.delete('/sccg/message/delete', params); } export function getMessageById(id) { @@ -9,13 +9,13 @@ } export function getMessageList(params) { - return http.post('/sccg/message/list', params); + return http.get('/sccg/message/list', params); } export function sendMessage(params) { return http.post('/sccg/message/sendMessage', params); } -export function updateMessage(id, params) { - return http.post('/sccg/message/update/' + id, params); +export function updateMessage(params) { + return http.post('/sccg/message/update', params); } \ No newline at end of file -- Gitblit v1.8.0