dever 6 년 전
부모
커밋
81b79f7188
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/Wechat.php

+ 1 - 1
lib/Wechat.php

@@ -121,7 +121,7 @@ class Wechat extends Core
 			$string['noncestr'] = $order['nonce_str'];
 			$string['timestamp'] = $order['time'];
 			ksort($string);
-			$string = http_build_query($string);
+			$string = str_replace('%3D', '=', http_build_query($string));
 			$this->log('支付签名-app', $string);
 			if($order['sign_type'] == "MD5"){
 				$string = md5($string);