mod:调整环境配置文件

This commit is contained in:
zhangchuanlong
2022-02-09 17:46:25 +08:00
parent 823d718d7b
commit dd0c8a86c4
8 changed files with 18 additions and 32 deletions

View File

@@ -7,7 +7,7 @@ const token = {
export default [
{
url: '/api-mock/auth/login',
url: '/api/auth/login',
method: 'post',
response: ({ body }) => {
if (['admin', 'editor'].includes(body?.name)) {
@@ -26,7 +26,7 @@ export default [
},
},
{
url: '/api-mock/auth/refreshToken',
url: '/api/auth/refreshToken',
method: 'post',
response: ({ headers }) => {
return {