dever 6 年之前
父節點
當前提交
4e27724083
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lib/Wechat.php

+ 1 - 0
lib/Wechat.php

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