24 lines
449 B
TypeScript
24 lines
449 B
TypeScript
import request from "../../utils/request";
|
|
|
|
export const getNoticeListApi = (params: any) => {
|
|
return request({
|
|
url: "/notice/notify",
|
|
method: "get",
|
|
params,
|
|
});
|
|
};
|
|
|
|
export const getNoticeInfoApi = (id: number) => {
|
|
return request({
|
|
url: "/notice/notify/" + id,
|
|
method: "get",
|
|
});
|
|
};
|
|
|
|
export const deleteNoticeInfoApi = (id: number) => {
|
|
return request({
|
|
url: "/notice/notify/" + id,
|
|
method: "delete",
|
|
});
|
|
};
|