...
This commit is contained in:
@@ -37,20 +37,14 @@ namespace Back.Controllers
|
||||
item.CompanyID = pid.Value.ToString();
|
||||
var Ticket = await _servTicket.NewTicket(item, StatusTicket.unknownPerson);
|
||||
|
||||
var code= await _servValidatinMsg.GenerateCode(new VerificationCode
|
||||
var ID= await _servValidatinMsg.GenerateCode(new VerificationCode
|
||||
{
|
||||
ID = 0,
|
||||
prm = Ticket.ID.ToString(),
|
||||
val = item.Mobile,
|
||||
Type = "NewTicketNoAuthentication"
|
||||
});
|
||||
|
||||
return Ticket == null ? BadRequest() : Ok(new VerificationCodeDto
|
||||
{
|
||||
prm = Ticket.ID.ToString(),
|
||||
val = item.Mobile,
|
||||
Type = "NewTicketNoAuthentication"
|
||||
});
|
||||
return Ticket == null ? BadRequest() : Ok(ID);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user