Parcourir la source

内部使用oa后台

gogs il y a 1 an
Parent
commit
b0649fa96e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/Http/Controllers/Api/DeviceController.php

+ 1 - 1
app/Http/Controllers/Api/DeviceController.php

@@ -32,7 +32,7 @@ class DeviceController extends Controller
                 $kq_list[] = [
                     'number' => $v['account_id'],
                     'emp_fname' => $v['emp_fname'],
-                    'crt_time' => substr($v['sign_time'],-3),
+                    'crt_time' => substr($v['sign_time'],0,10),
                 ];
                 $recodes[] = [
                     'id' => $v['id']