|
|
@@ -185,10 +185,10 @@ public class EzPay {
|
|
|
return false;
|
|
|
}
|
|
|
String decrypted = EzPayEncryptUtil.decrypt(resultHex, config.getHashKey(), config.getHashIV());
|
|
|
-// boolean exist = decrypted != null && decrypted.contains("IsExist=Y");
|
|
|
-// // decrypted 形如 CellphoneBarcode=%2FABC1234&IsExist=Y
|
|
|
-// log.info("[EzPay] checkBarCode decrypted={}, isExist={}", decrypted, exist);
|
|
|
- return true;
|
|
|
+ boolean exist = decrypted != null && decrypted.contains("IsExist=Y");
|
|
|
+ // decrypted 形如 CellphoneBarcode=%2FABC1234&IsExist=Y
|
|
|
+ log.info("[EzPay] checkBarCode decrypted={}, isExist={}", decrypted, exist);
|
|
|
+ return exist;
|
|
|
}
|
|
|
|
|
|
/**
|