rabin hace 3 años
padre
commit
51082db15c
Se han modificado 1 ficheros con 1 adiciones y 6 borrados
  1. 1 6
      lib/Wechat.php

+ 1 - 6
lib/Wechat.php

@@ -498,14 +498,9 @@ class Wechat
 		if (!$url) {
 			$url = Dever::url();
 		} else {
-			$url = htmlspecialchars_decode($url);
-		}
-		if (strstr($url, '#')) {
-			$temp = explode('#', $url);
-			$url = $temp[0];
+			$url = urldecode($url);
 		}
 
-		$url = 'http://learn.uat.churenyiliao.com/hexiao/#/pages/activities/detail/detail?id=1';
 		$timestamp = time();
 		$noncestr = $this->nonce();
 		$signature = $this->signature($ticket, $url, $timestamp, $noncestr);