|
|
@@ -123,7 +123,9 @@ class DataConverter |
|
|
$target = substr($data, 5); |
|
|
$target = substr($data, 5); |
|
|
|
|
|
|
|
|
$dec = QRCryptoLogic::decrypt($target); |
|
|
$dec = QRCryptoLogic::decrypt($target); |
|
|
if (strlen($dec) !== 15) { |
|
|
|
|
|
|
|
|
if (strlen($dec) !== 25) { |
|
|
|
|
|
logger($target); |
|
|
|
|
|
logger($dec); |
|
|
throw new GeneralErrorMessageException("URL不正"); |
|
|
throw new GeneralErrorMessageException("URL不正"); |
|
|
} |
|
|
} |
|
|
$ret->発行端末 = substr($dec, 0, 2); |
|
|
$ret->発行端末 = substr($dec, 0, 2); |
|
|
|