2026-02-06 18:37:55 +08:00
|
|
|
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}",
|
|
|
|
|
);
|
2026-02-10 14:20:54 +08:00
|
|
|
export const noticeInfo = declareRequest(
|
|
|
|
|
"noticeLoading",
|
|
|
|
|
"Get > /appmenu/notice/{id}",
|
|
|
|
|
);
|
|
|
|
|
export const noticeReadStatus = declareRequest(
|
|
|
|
|
"noticeLoading",
|
|
|
|
|
"Post > @/appmenu/notice/noticeReadStatus",
|
|
|
|
|
);
|