Explorar el Código

设备工作清单优化

qiuenguang hace 1 año
padre
commit
630fbf5f5f
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      application/api/controller/Facility.php

+ 4 - 1
application/api/controller/Facility.php

@@ -446,8 +446,11 @@ class Facility extends Api
                 }
             }
             $data = array_values($orderList);
+            $this->success('成功',$data);
+        }else{
+            $this->error('未找到数据');
         }
-        $this->success('成功',$data);
+
     }