Explorar el Código

test docket latest number

ifah
padre
commit
e1a7f263ab
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2
    0
      app/Http/Controllers/Api/DocketMobile.php

+ 2
- 0
app/Http/Controllers/Api/DocketMobile.php Ver fichero

@@ -30,6 +30,8 @@ class DocketMobile extends BaseController
}

function createDocketID($limit){
info(Docket::max('id'));

$allowedNumbers = range(0, 9);
shuffle($allowedNumbers);
$digits = array_rand($allowedNumbers, $limit);

Cargando…
Cancelar
Guardar