Quellcode durchsuchen

feat: 修改新闻和招聘的详情接口,修改浏览器标题的图标

mnisting vor 4 Monaten
Ursprung
Commit
6e3b057cde
3 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. BIN
      public/favicon.ico
  2. 1 1
      src/api/newsManage/index.js
  3. 2 2
      src/api/recruitInfoManage/index.js

BIN
public/favicon.ico


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

@@ -12,7 +12,7 @@ export const getList = (query) => {
 // 获取详情 /business/officialAccount/{hireInfoId}
 export const getDetail = (hireInfoId) => {
   return request({
-    url: `/business/officialAccount/${hireInfoId}`,
+    url: `/business/officialAccount/getInfo/${hireInfoId}`,
     method: "get",
   });
 };

+ 2 - 2
src/api/recruitInfoManage/index.js

@@ -9,10 +9,10 @@ export const getList = (query) => {
   });
 };
 
-// 获取招聘详情 /business/hireInfo/{hireInfoId}
+// 获取招聘详情 /business/hireInfo/getInfo/{hireInfoId}
 export const getDetail = (hireInfoId) => {
   return request({
-    url: `/business/hireInfo/${hireInfoId}`,
+    url: `/business/hireInfo/getInfo/${hireInfoId}`,
     method: "get",
   });
 };