refactor(projects): 代码优化

This commit is contained in:
Soybean
2022-03-05 23:48:05 +08:00
parent f42ee9dbe5
commit 4e31abd446
4 changed files with 12 additions and 16 deletions

View File

@ -80,11 +80,11 @@ const apis: MockMethod[] = [
{
url: '/mock/updateToken',
method: 'post',
response: (): Service.MockServiceResult<string> => {
response: (): Service.MockServiceResult<ApiAuth.Token> => {
return {
code: 200,
message: 'ok',
data: token.token
data: token
};
}
}