Merge branch 'master' of ssh://gitlab.dongwu-inc.com:10022/BOE/fe-manage

This commit is contained in:
songwc
2022-10-31 18:22:25 +08:00
4 changed files with 3179 additions and 3158 deletions

View File

@@ -16,6 +16,8 @@ http.interceptors.request.use(
config.headers.token = token;
} else {
console.log("当前请求页面无token,请执行操作!!!")
// 此处测试默认配置token
config.headers.token = "123456";
}
return config;
},

View File

@@ -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', {
})