Browse Source

fix(announcement): 修正公告分类列表接口路径

yz 1 month ago
parent
commit
a7d00eaca3
2 changed files with 3 additions and 3 deletions
  1. 2 2
      src/api/announcement/category.js
  2. 1 1
      src/api/announcement/index.js

+ 2 - 2
src/api/announcement/category.js

@@ -59,7 +59,7 @@ import request from '@/router/axios';
  */
 export const getCategoryList = () => {
   return request({
-    url: '/blade-factory/api/notice/category/list',
+    url: '/blade-factory/api/factory/notice/category/list',
     method: 'get'
   })
 }
@@ -150,4 +150,4 @@ export const updateCategoryStatus = (id, status) => {
       status
     }
   })
-}
+}

+ 1 - 1
src/api/announcement/index.js

@@ -145,7 +145,7 @@ export const getBrandList = () => {
  */
 export const getCategoryList = () => {
   return request({
-    url: '/blade-factory/api/notice/category/list',
+    url: '/blade-factory/api/factory/notice/category/list',
     method: 'get'
   });
 };