diff --git a/config/constants.php b/config/constants.php index 0f72160..8c8080c 100644 --- a/config/constants.php +++ b/config/constants.php @@ -78,6 +78,9 @@ define('MQ_ALTOB_MSG', 'msg'); // MQTT TOPIC: cmd: msg define('MQ_ALTOB_MSG_END_TAG', ',altob'); // MQTT TOPIC: cmd: msg end tag define('MQ_ALTOB_888', '888'); // MQTT TOPIC: cmd: 888 define('MQ_ALTOB_888_END_TAG', ',altob'); // MQTT TOPIC: cmd: 888 end tag +define('MQ_ALTOB_POS', 'pos'); // MQTT TOPIC: cmd: pos +define('MQ_ALTOB_POS_END_TAG', ',altob'); // MQTT TOPIC: cmd: pos end tag + define('MEMCACHE_HOST', 'localhost'); // memcache host define('MEMCACHE_PORT', 11211); // memcache post no (default:11211) diff --git a/models/Carpayment_model.php b/models/Carpayment_model.php index dc7eafb..e0976d5 100644 --- a/models/Carpayment_model.php +++ b/models/Carpayment_model.php @@ -315,7 +315,7 @@ class Carpayment_model extends CI_Model ->where(array( 'in_out' => 'CI', 'finished' => 0, 'err' => 0, 'obj_type' => 1, 'member_no' => 0, 'in_time > ' => date("Y-m-d H:i:s", strtotime('- 1 minutes')), // 限時 - 'ticket_no' => '', + 'ticket_dev' => '', 'in_lane' => $lanes[$parms['devno']]['in_lane'] )) ->order_by('cario_no', 'desc')