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