From e2b9bd282a430fd41b0de74179650948b12e4701 Mon Sep 17 00:00:00 2001 From: dutsc <1020018707@qq.com> Date: Mon, 14 Aug 2023 13:44:00 +0800 Subject: [PATCH] no appid send --- mobile/source/helpers/dalianpay/library/Crypt.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mobile/source/helpers/dalianpay/library/Crypt.php b/mobile/source/helpers/dalianpay/library/Crypt.php index 4236150..4d0ebfc 100644 --- a/mobile/source/helpers/dalianpay/library/Crypt.php +++ b/mobile/source/helpers/dalianpay/library/Crypt.php @@ -195,8 +195,8 @@ class Crypt foreach($pre_decrypt_data_arr as $key=>$val) { $res = openssl_private_decrypt($val, $decrypted_data_tmp, $private_key, OPENSSL_PKCS1_PADDING); - echo "res:\r\n"; - echo $res . "\r\n"; + // echo "res:\r\n"; + // echo $res . "\r\n"; if($res === false) { $this->err_msg = openssl_error_string(); @@ -211,9 +211,9 @@ class Crypt // echo "\r\n"; // var_dump($decrypted_data); $charset = mb_detect_encoding($decrypted_data); - echo "\r\n"; - var_dump($charset); - echo "\r\n"; + // echo "\r\n"; + // var_dump($charset); + // echo "\r\n"; $decrypted_data = mb_convert_encoding($decrypted_data, 'UTF-8', $charset); // echo "\r\n";