ソースを参照

更新快速出場MQTT

station_14109
QxQ 6年前
コミット
1d69f07b4c
2個のファイルの変更4行の追加1行の削除
  1. +3
    -0
      config/constants.php
  2. +1
    -1
      models/Carpayment_model.php

+ 3
- 0
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)


+ 1
- 1
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')


読み込み中…
キャンセル
保存