zqwang %!s(int64=2) %!d(string=hai) anos
pai
achega
4d5cfeea2a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Http/Controllers/QuickApp/HuaWeiController.php

+ 1 - 1
app/Http/Controllers/QuickApp/HuaWeiController.php

@@ -35,7 +35,7 @@ class HuaWeiController extends  Controller
                     $res = array_column($res,null,'bid');
                     $res = $res[66643] ?? [];
                 }
-                if ($res){
+                if (!is_empty($res)){
                     if (isset($res['cid']) && in_array($res['cid'],[30300728,30300727,30300726,30300725,30300724,30300723] )){
                         ReadRecordService::delReadRecordStatic($v->id [66643]);
                     }