.
This commit is contained in:
parent
0aa5be7873
commit
973fcc4c29
@ -12,8 +12,8 @@ moment.locale('es');
|
|||||||
|
|
||||||
function generateNewCodeTicket() {
|
function generateNewCodeTicket() {
|
||||||
|
|
||||||
this.length = 8;
|
let length = 8;
|
||||||
this.timestamp = +new Date;
|
let timestamp = +new Date;
|
||||||
|
|
||||||
var _getRandomInt = function (min, max) {
|
var _getRandomInt = function (min, max) {
|
||||||
return Math.floor(Math.random() * (max - min + 1)) + min;
|
return Math.floor(Math.random() * (max - min + 1)) + min;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user