dever преди 6 години
родител
ревизия
8831cd2ee8
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      lib/Wechat.php

+ 2 - 0
lib/Wechat.php

@@ -92,6 +92,7 @@ class Wechat extends Core
 		if (isset($order['prepay_id'])) {
 
 			$string = 'appId='.$this->config->GetAppId().'&nonceStr='.$order['nonce_str'].'&package=prepay_id='.$order['prepay_id'].'&signType='.$order['sign_type'].'&timeStamp='.$order['time'].'&key='.$this->config->GetKey();
+			$this->log('支付签名-applet', $string);
 			if($order['sign_type'] == "MD5"){
 				$string = md5($string);
 			} else {
@@ -121,6 +122,7 @@ class Wechat extends Core
 			$string['timestamp'] = $order['time'];
 			ksort($string);
 			$string = http_build_query($string);
+			$this->log('支付签名-app', $string);
 			if($order['sign_type'] == "MD5"){
 				$string = md5($string);
 			} else {