Browse Source

项目管理 项目列表 接口文件

DESKTOP-O04BTUJ\muzen 3 years atrás
parent
commit
9105863de7
1 changed files with 29 additions and 2 deletions
  1. 29 2
      src/api/project/list.js

+ 29 - 2
src/api/project/list.js

@@ -45,11 +45,38 @@ export function updateAdd(data) {
   })
 }
 
-// 更新
-export function update(data){
+// 项目编辑
+export function appEdit(data){
   return request({
     url: `/project/update/edit`,
     method: 'post',
     data: data
   })
+}
+
+// 项目更新
+export function update(data){
+  return request({
+    url: `/project/update/updateDownUrl`,
+    method: 'post',
+    data: data
+  })
+}
+
+// 历史记录
+export function historyPage(query){
+  return request({
+    url: `/project/update/historyPage`,
+    method: 'get',
+    params: query
+  })
+}
+
+// 上下架
+export function shelves(data){
+  return request({
+    url: `/project/update/doShelves`,
+    method: 'post',
+    data: data
+  })
 }