mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-20 16:26:45 +08:00
提交
This commit is contained in:
21
src/api/indexDiscuss.js
Normal file
21
src/api/indexDiscuss.js
Normal file
@@ -0,0 +1,21 @@
|
||||
import http from "./config";
|
||||
//import qs from 'qs';
|
||||
|
||||
//创建讨论
|
||||
export const createDiscuss = (obj) => http.post("/discuss/createDiscuss", obj);
|
||||
|
||||
//获取讨论信息接口
|
||||
export const getDiscussDetail = (obj) => http.post('/discuss/getDiscussDetail', obj,{
|
||||
headers: {
|
||||
'token': '123',
|
||||
'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8',
|
||||
}
|
||||
})
|
||||
//删除讨论接口
|
||||
export const deleteDiscuss = (obj) =>
|
||||
http.post("/discuss/deleteDiscuss", { params: obj });
|
||||
|
||||
//修改讨论接口
|
||||
export const updateDiscuss = (obj) => http.post('/discuss/updateDiscuss', obj );
|
||||
//修改阶段任务信息
|
||||
export const updateTask=(obj)=>http.post('/admin/project/editTask',obj)
|
||||
Reference in New Issue
Block a user