fix: 🐛 后端API已经修改为/my
This commit is contained in:
@@ -211,7 +211,7 @@ export default defineMock([
|
|||||||
|
|
||||||
// 我的通知分页列表
|
// 我的通知分页列表
|
||||||
{
|
{
|
||||||
url: "notices/my-page",
|
url: "notices/my",
|
||||||
method: ["GET"],
|
method: ["GET"],
|
||||||
body: {
|
body: {
|
||||||
code: "00000",
|
code: "00000",
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ const NoticeAPI = {
|
|||||||
/** 获取我的通知分页列表 */
|
/** 获取我的通知分页列表 */
|
||||||
getMyNoticePage(queryParams?: NoticePageQuery) {
|
getMyNoticePage(queryParams?: NoticePageQuery) {
|
||||||
return request<any, PageResult<NoticePageVO[]>>({
|
return request<any, PageResult<NoticePageVO[]>>({
|
||||||
url: `${NOTICE_BASE_URL}/my-page`,
|
url: `${NOTICE_BASE_URL}/my`,
|
||||||
method: "get",
|
method: "get",
|
||||||
params: queryParams,
|
params: queryParams,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user