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.

14 lines
445 B

import {GetApi, PostApi} from "@/api/request"
6 years ago
export const search = new PostApi(`/message/manage/search`)
6 years ago
export const add = new PostApi(`/message/manage/add`)
6 years ago
export const update = new PostApi(`/message/manage/update`)
6 years ago
export const publish = new PostApi(`/message/manage/publish`)
6 years ago
export const withdraw = new PostApi(`/message/manage/withdraw`)
6 years ago
export const del = new GetApi(`/message/manage/del`, (id, title) => ({params: {id, title}}))