!56 fix: <img class="emoji" alt="🐛" style="vertical-align: middle" src="https://cn-assets.gitee.com/assets/emoji/bug-5377f990188a6353ea49a3bfeb7a89c8.png" width="14" height="14">后端API已经修改为/my
Merge pull request !56 from 太空眼睛/master-tangheng
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