25 lines
766 B
JavaScript
25 lines
766 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", "Get > /appmenu/notice/readStatus/{noticeId}");
|