|
@@ -15,7 +15,8 @@ export function login(data: LoginData): AxiosPromise<LoginResult> {
|
|
|
const params = {
|
|
|
...data,
|
|
|
clientId: data.clientId || clientId,
|
|
|
- grantType: data.grantType || 'password'
|
|
|
+ grantType: data.grantType || 'password',
|
|
|
+ fromSystem: data.fromSystem || 'yjdp'
|
|
|
};
|
|
|
params.password = encryptWithAes(params.password, parseAesKey(params.uuid));
|
|
|
|