|
@@ -113,7 +113,7 @@ class Cabinet extends Base
|
|
|
$params['id'] = $this->getid();
|
|
|
$params['cabinet_code'] = input('param.cabinet_number');
|
|
|
|
|
|
- $cabinet = $this->get_cabinet($params['cabinet_number']);
|
|
|
+ $cabinet = $this->get_cabinet($params['cabinet_code']);
|
|
|
$params['delay_time'] = 0;
|
|
|
if($cabinet == false){
|
|
|
return json(json_error_exception('1008'));
|
|
@@ -137,7 +137,7 @@ class Cabinet extends Base
|
|
|
$params['id'] = $this->getid();
|
|
|
$params['cabinet_code'] = input('param.cabinet_number');
|
|
|
|
|
|
- $cabinet = $this->get_cabinet($params['cabinet_number']);
|
|
|
+ $cabinet = $this->get_cabinet($params['cabinet_code']);
|
|
|
$params['delay_time'] = 0;
|
|
|
if($cabinet == false){
|
|
|
return json(json_error_exception('1008'));
|
|
@@ -162,7 +162,7 @@ class Cabinet extends Base
|
|
|
$params['cabinet_code'] = input('param.cabinet_number');
|
|
|
$params['delay_time'] = 0;
|
|
|
|
|
|
- $cabinet = $this->get_cabinet($params['cabinet_number']);
|
|
|
+ $cabinet = $this->get_cabinet($params['cabinet_code']);
|
|
|
if($cabinet == false){
|
|
|
return json(json_error_exception('1008'));
|
|
|
}
|
|
@@ -186,7 +186,7 @@ class Cabinet extends Base
|
|
|
$params['cabinet_code'] = input('param.cabinet_number');
|
|
|
$params['delay_time'] = 0;
|
|
|
|
|
|
- $cabinet = $this->get_cabinet($params['cabinet_number']);
|
|
|
+ $cabinet = $this->get_cabinet($params['cabinet_code']);
|
|
|
if($cabinet == false){
|
|
|
return json(json_error_exception('1008'));
|
|
|
}
|
|
@@ -210,7 +210,7 @@ class Cabinet extends Base
|
|
|
$params['cabinet_code'] = input('param.cabinet_number');
|
|
|
$params['delay_time'] = 0;
|
|
|
|
|
|
- $cabinet = $this->get_cabinet($params['cabinet_number']);
|
|
|
+ $cabinet = $this->get_cabinet($params['cabinet_code']);
|
|
|
if($cabinet == false){
|
|
|
return json(json_error_exception('1008'));
|
|
|
}
|
|
@@ -228,8 +228,6 @@ class Cabinet extends Base
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
private function proc_request($queue_name, $key, $params){
|
|
|
QueueClient::push($queue_name,self::redis_host , self::redis_port ,$key,$params);
|