|
|
|
|
@ -146,7 +146,7 @@ export class AuthenticationService {
|
|
|
|
|
mobileType = 'android';
|
|
|
|
|
}
|
|
|
|
|
request.VersionID = 3.6;
|
|
|
|
|
request.Channel = 31;
|
|
|
|
|
request.Channel = 33;
|
|
|
|
|
request.LanguageID = TranslatorService.getCurrentLanguageCode();
|
|
|
|
|
request.MobileType = mobileType;
|
|
|
|
|
|
|
|
|
|
@ -228,7 +228,7 @@ export class AuthenticationService {
|
|
|
|
|
|
|
|
|
|
public login(request: LoginRequest, onError: any, errorLabel: string): Observable<Response> {
|
|
|
|
|
this.setPublicFields(request);
|
|
|
|
|
request.P_APP_VERSION = "CS";
|
|
|
|
|
request.P_APP_VERSION = "HMG";
|
|
|
|
|
return this.con.post(AuthenticationService.login, request, onError, errorLabel);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
@ -485,7 +485,7 @@ export class AuthenticationService {
|
|
|
|
|
public checkUserAuthentication(request: CheckUserAuthenticationRequest, onError: any, errorLabel: string)
|
|
|
|
|
: Observable<CheckUserAuthenticationResponse> {
|
|
|
|
|
this.setPublicFields(request);
|
|
|
|
|
request.P_APP_VERSION = "CS";
|
|
|
|
|
request.P_APP_VERSION = "HMG";
|
|
|
|
|
return this.con.post(AuthenticationService.userChecking, request, onError, errorLabel);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|