Browse Source

内部使用oa后台

gogs 1 year ago
parent
commit
b0649fa96e
1 changed files with 1 additions and 1 deletions
  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']