Explorar el Código

内部使用oa后台

gogs hace 1 año
padre
commit
184289996a
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      app/Http/Controllers/Api/DeviceController.php

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

@@ -106,11 +106,11 @@ class DeviceController extends Controller
         if(isset($data['whitelist'])){
             $data = $data['whitelist'];
             foreach ($data as $v){
-                if($v['result_code'] == "400"){
+//                if($v['result_code'] == "400"){
                     Employee::where('number',$v['account_id'])->update([
                         'is_device' => 1
                     ]);
-                }
+//                }
 
             }
         }