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

interface

... ... @@ -71,12 +71,14 @@ class AesController extends HomeBaseController{
if (!empty($strKey)){
if ($strKey['electricity']==0){
$this->apiResponse(302,'设备电量低');
}else{
}
if ($strKey['use']==1){
$this->apiResponse(303,'当前设备正在使用');
}
$strMac=$this->macToStr($strKey['mac_address']);
$key="ff0ca2".$strMac."5500ef";
$lockKey=$this->ToArray($key);
$this->apiResponse(200,'success',$lockKey);
}
}else{
$this->apiResponse(301,'MAC地址未认证');
}
... ...