Kaynağa Gözat

add B1 format

station_14109
altob.rd 8 yıl önce
ebeveyn
işleme
e9826f34fe
1 değiştirilmiş dosya ile 5 ekleme ve 1 silme
  1. +5
    -1
      controllers/Pks.php

+ 5
- 1
controllers/Pks.php Dosyayı Görüntüle

@@ -201,7 +201,11 @@ class Pks extends CI_Controller
$parms = $this->uri->uri_to_assoc(3);
// 調整 pksno 為 pks 格式
$parms['pksno'] = intval(implode('', explode('F_', $parms['pksno'])));
if (strpos($test_string, 'B') !== false) {
$parms['pksno'] = '9' . intval(preg_replace('/[^0-9\-]/', '', $test_string)); // 地下 B
}
else
$parms['pksno'] = intval(preg_replace('/[^0-9\-]/', '', $test_string));
trigger_error('在席參數傳入:'.print_r($parms, true));


Yükleniyor…
İptal
Kaydet