需求接口完善
This commit is contained in:
@@ -4,7 +4,8 @@ const api = {
|
||||
managerList: 'system/user/list',
|
||||
projectList: 'test/project/projectList',
|
||||
addProject: 'test/project/addProject',
|
||||
delProject: 'test/project/delProject'
|
||||
delProject: 'test/project/delProject',
|
||||
getProjectDetail: 'test/project/projectDetail'
|
||||
}
|
||||
|
||||
export function managerList(data) {
|
||||
@@ -39,3 +40,12 @@ export function delProject(id) {
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function getProjectDetail(id) {
|
||||
return request({
|
||||
url: api.getProjectDetail,
|
||||
method: 'post',
|
||||
data: {id}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user