| | |
| | | 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) { |
| | |
| | | } |
| | | |
| | | 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); |
| | | } |