A modern vue admin. It is based on Vue3, vite and TypeScript. It's fast!
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.
 
 
 
 
 

22 lines
506 B

import { ApiServiceEnum, defHttp } from '@/utils/http/axios';
enum Api {
list = '/smart/message/messageSend/pageCurrentUserMessage',
markAsRead = '/smart/message/messageSend/markAsRead',
}
export const pageCurrentUserMessageApi = (data) => {
return defHttp.post({
service: ApiServiceEnum.SMART_MESSAGE,
url: Api.list,
data,
});
};
export const markAsReadApi = (data) => {
return defHttp.post({
service: ApiServiceEnum.SMART_MESSAGE,
url: Api.markAsRead,
data,
});
};