dever 6 years ago
parent
commit
fc5bc65f1a
1 changed files with 3 additions and 3 deletions
  1. 3 3
      lib/Wechat.php

+ 3 - 3
lib/Wechat.php

@@ -143,9 +143,9 @@ class Wechat extends Core
 	{
 		if (isset($order['mweb_url'])) {
 			$order['mweb_url'] .= '&redirect_url=' . $refer;
-			$refer = urlencode($order['mweb_url']);
-			$url = Dever::url('api.jump?refer=' . $refer, 'pay');
-			return '<script type="text/javascript">location.href = "' . $url . '"</script>';
+			//$refer = urlencode($order['mweb_url']);
+			//$url = Dever::url('api.jump?refer=' . $refer, 'pay');
+			return '<script type="text/javascript">location.href = "' . $order['mweb_url'] . '"</script>';
 		}
 		$refer = urldecode($refer);
 		$tools = new \JsApiPay($this->config);