|
|
|
|
@ -134,7 +134,7 @@ export class AuthenticationService {
|
|
|
|
|
mobileType = 'android';
|
|
|
|
|
}
|
|
|
|
|
request.VersionID = 2.9;
|
|
|
|
|
request.Channel = 31;
|
|
|
|
|
request.Channel = 33;
|
|
|
|
|
request.LanguageID = TranslatorService.getCurrentLanguageCode();
|
|
|
|
|
request.MobileType = mobileType;
|
|
|
|
|
|
|
|
|
|
@ -209,7 +209,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);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
@ -466,7 +466,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);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|