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

interface

@@ -66,7 +66,7 @@ class AesController extends HomeBaseController{ @@ -66,7 +66,7 @@ class AesController extends HomeBaseController{
66 * @return lockKey:加密的开锁指令(数组) 66 * @return lockKey:加密的开锁指令(数组)
67 */ 67 */
68 public function lock(){ 68 public function lock(){
69 - $name=$this->request->param('name'); 69 + $name=$this->request->param('name');dump($name);
70 $strKey=Db::name('equipment')->where('name',$name)->find(); 70 $strKey=Db::name('equipment')->where('name',$name)->find();
71 if (!empty($strKey)){ 71 if (!empty($strKey)){
72 if ($strKey['electricity']==0){ 72 if ($strKey['electricity']==0){