Przeglądaj źródła

更新植物園大客車代碼1

master
LEE Wei Cheng 2 lat temu
rodzic
commit
6d6c444002
1 zmienionych plików z 8 dodań i 1 usunięć
  1. +8
    -1
      models/Carpayment_model.php

+ 8
- 1
models/Carpayment_model.php Wyświetl plik

@@ -459,7 +459,14 @@ class Carpayment_model extends CI_Model
}
else if($cario['station_no'] == 40704)
{
return 1;
if(substr($cario['in_out'], 0, 1) === 'C')
{
return 1; // 1: 植物園 (一般車)
}
else
{
return 2; // 2: 植物園平面 (大客車)
}
}
return 1; // 預設值


Ładowanie…
Anuluj
Zapisz