feat:增加测试接口默认token配置、增加创建单层项目附件上传。

This commit is contained in:
wuyx
2022-10-31 16:49:58 +08:00
parent a9d78e9c7c
commit d3448506c3
3 changed files with 100 additions and 30 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;
},