|
|
|
|
@ -634,23 +634,26 @@ export class ConfirmLoginComponent implements OnInit {
|
|
|
|
|
|
|
|
|
|
// this.deviceToken= this.cs.sharedService.getSharedData(AuthenticationService.DEVICE_TOKEN, false);
|
|
|
|
|
|
|
|
|
|
let request = new GetLoginInfoRequest();
|
|
|
|
|
let request ={
|
|
|
|
|
DeviceType: this.cs.getDeviceType(),
|
|
|
|
|
|
|
|
|
|
this.authService.setPublicFields(request);
|
|
|
|
|
DeviceToken:this.deviceToken
|
|
|
|
|
|
|
|
|
|
request.MobileNumber = this.loginData.MobileNumber;
|
|
|
|
|
} ;
|
|
|
|
|
|
|
|
|
|
request.P_USER_NAME=this.loginData.P_USER_NAME;
|
|
|
|
|
// this.authService.setPublicFields(request);
|
|
|
|
|
|
|
|
|
|
request.UserName=this.loginData.P_USER_NAME;
|
|
|
|
|
// request.MobileNumber = this.loginData.MobileNumber;
|
|
|
|
|
|
|
|
|
|
request.LogInTokenID =this.loginData.LogInTokenID;
|
|
|
|
|
// request.P_USER_NAME=this.loginData.P_USER_NAME;
|
|
|
|
|
|
|
|
|
|
request.CompanyID =1;//cs=1 , HMG=2
|
|
|
|
|
// request.UserName=this.loginData.P_USER_NAME;
|
|
|
|
|
|
|
|
|
|
request.DeviceType= this.cs.getDeviceType();
|
|
|
|
|
// request.LogInTokenID =this.loginData.LogInTokenID;
|
|
|
|
|
|
|
|
|
|
request.DeviceToken=this.deviceToken;
|
|
|
|
|
// request.CompanyID =1;//cs=1 , HMG=2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -668,7 +671,7 @@ export class ConfirmLoginComponent implements OnInit {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private getMobileInfo(request: GetLoginInfoRequest) {
|
|
|
|
|
private getMobileInfo(request: any) {
|
|
|
|
|
|
|
|
|
|
console.log("2");
|
|
|
|
|
|
|
|
|
|
@ -790,7 +793,7 @@ export class ConfirmLoginComponent implements OnInit {
|
|
|
|
|
|
|
|
|
|
request.DeviceType= this.cs.getDeviceType();
|
|
|
|
|
|
|
|
|
|
request.DeviceToken="5ca8a69cf1804db55264c349edffb99b9d63acd9fa9b6b18956bcb2ad3f2ba36";//this.deviceToken;
|
|
|
|
|
request.DeviceToken=this.deviceToken;//"5ca8a69cf1804db55264c349edffb99b9d63acd9fa9b6b18956bcb2ad3f2ba36";//this.deviceToken;
|
|
|
|
|
|
|
|
|
|
//request.TokenID=
|
|
|
|
|
|
|
|
|
|
|