|
|
|
@@ -201,9 +201,8 @@ class Pks extends CI_Controller |
|
|
|
$parms = $this->uri->uri_to_assoc(3); |
|
|
|
|
|
|
|
// 調整 pksno 為 pks 格式 |
|
|
|
if (strpos($test_string, 'B') !== false) { |
|
|
|
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)); |
|
|
|
|
|
|
|
|