From d24c9dde20cba23b96082b4db81b5223c75e4ea9 Mon Sep 17 00:00:00 2001 From: odc.xiaohui <xiaohui@Q1> Date: 星期三, 08 三月 2023 09:06:28 +0800 Subject: [PATCH] 身份证正反面调整 --- src/api/operate/messageManagement.js | 16 ++++++++++++---- 1 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/api/operate/messageManagement.js b/src/api/operate/messageManagement.js index b6063d3..24f2a77 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,21 @@ } 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 sendMessageByMobileNumber(params) { + return http.post('/sccg/message/send_message_phone', params); +} + +export function saveMessage(params) { + return http.post('/sccg/message/saveMessage', params); +} + +export function updateMessage(params) { + return http.post('/sccg/message/update', params); } \ No newline at end of file -- Gitblit v1.8.0