You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
315 B
13 lines
315 B
3 months ago
|
import http from '@/api';
|
||
|
import { ADMIN_MODULE } from '@/api/helper/prefix';
|
||
|
import type { Message } from '@/api/types/system/message';
|
||
|
|
||
|
/**
|
||
|
* 发送消息
|
||
|
* @param params
|
||
|
* @returns {*}
|
||
|
*/
|
||
|
export const sendMessageApi = (params: Message) => {
|
||
|
return http.post(ADMIN_MODULE + `/www/message/send`, params);
|
||
|
};
|