|
@@ -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);
|