mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 12:26:47 +08:00
Merge branch 'master' of ssh://gitlab.dongwu-inc.com:10022/BOE/fe-manage
This commit is contained in:
@@ -16,6 +16,8 @@ http.interceptors.request.use(
|
||||
config.headers.token = token;
|
||||
} else {
|
||||
console.log("当前请求页面无token,请执行操作!!!")
|
||||
// 此处测试默认配置token
|
||||
config.headers.token = "123456";
|
||||
}
|
||||
return config;
|
||||
},
|
||||
|
||||
@@ -51,13 +51,21 @@ export const createProject = (obj) => http.post('/admin/project/edit', {
|
||||
"name": obj.name,
|
||||
"notice": obj.notice,
|
||||
"noticeFlag": obj.noticeFlag,
|
||||
"parentId": obj.parentId,
|
||||
"picUrl": obj.picUrl,
|
||||
"projectId": obj.projectId,
|
||||
"remark": obj.remark,
|
||||
"sourceBelongId": obj.sourceBelongId,
|
||||
"status": obj.status,
|
||||
"systemId": obj.systemId,
|
||||
"templateId": obj.templateId,
|
||||
"type": obj.type
|
||||
})
|
||||
|
||||
// 创建多层项目
|
||||
export const createStoreyProject = () => http.post('/admin/project/edit', {
|
||||
|
||||
})
|
||||
|
||||
// 获取项目列表
|
||||
export const getProjectList = () => http.post('/admin/project/list', {
|
||||
|
||||
})
|
||||
Reference in New Issue
Block a user