作者 董瑞恩
1 个管道 的构建 通过 耗费 0 秒

interface

@@ -75,6 +75,9 @@ class AesController extends HomeBaseController{ @@ -75,6 +75,9 @@ class AesController extends HomeBaseController{
75 if ($strKey['use']==1){ 75 if ($strKey['use']==1){
76 $this->apiResponse(303,'当前设备正在使用'); 76 $this->apiResponse(303,'当前设备正在使用');
77 } 77 }
  78 + if ($strKey['state']==2){
  79 + $this->apiResponse(303,'当前设备故障');
  80 + }
78 $strMac=$this->macToStr($strKey['mac_address']); 81 $strMac=$this->macToStr($strKey['mac_address']);
79 $key="ff0ca2".$strMac."5500ef"; 82 $key="ff0ca2".$strMac."5500ef";
80 $lockKey=$this->ToArray($key); 83 $lockKey=$this->ToArray($key);