31 lines
777 B
JavaScript
31 lines
777 B
JavaScript
import { declareRequest } from "@cqsjjb/jjb-dva-runtime";
|
|
|
|
export const noticeList = declareRequest(
|
|
"noticeLoading",
|
|
"Post > @/appmenu/notice/list",
|
|
);
|
|
export const noticeAdd = declareRequest(
|
|
"noticeLoading",
|
|
"Post > @/appmenu/notice/save",
|
|
);
|
|
export const noticeEdit = declareRequest(
|
|
"noticeLoading",
|
|
"Put > @/appmenu/notice/edit",
|
|
);
|
|
export const noticeDelete = declareRequest(
|
|
"noticeLoading",
|
|
"Delete > @/appmenu/notice/{id}",
|
|
);
|
|
export const noticeBatchDelete = declareRequest(
|
|
"noticeLoading",
|
|
"Delete > @/appmenu/notice/ids/{ids}",
|
|
);
|
|
export const noticeInfo = declareRequest(
|
|
"noticeLoading",
|
|
"Get > /appmenu/notice/{id}",
|
|
);
|
|
export const noticeReadStatus = declareRequest(
|
|
"noticeLoading",
|
|
"Post > @/appmenu/notice/noticeReadStatus",
|
|
);
|