update 适配登录重构的修改(修改token命名, 修改接口传参) ;

This commit is contained in:
Michelle.Chung
2023-06-16 20:32:46 +08:00
parent 226e0f3494
commit 0f54604435
4 changed files with 9 additions and 5 deletions

View File

@ -13,7 +13,9 @@ export function login(data: LoginData): AxiosPromise<LoginResult> {
username: data.username.trim(),
password: data.password,
code: data.code,
uuid: data.uuid
uuid: data.uuid,
clientId: 'e5cd7e4891bf95d1d19206ce24a7b32e',
grantType: 'password'
};
return request({
url: '/auth/login',