index.js 299 Bytes
Newer Older
14699's avatar
14699 committed
1 2 3 4 5 6 7 8 9 10 11 12
import { post } from '@/utils/http'

const baseURL = import.meta.env.VITE_LOCAL== 'true' ? '/api' : import.meta.env.VITE_HTTP_BASE_URL

const api = {
    // 消息查询
    messageQuery(data = {}) {
        return post(`${baseURL}/app/api/app/user/msg/notice`, data)
    },
};

export default api;