|
|
@@ -79,7 +79,8 @@ class weixin_public
|
|
|
private function getSignPackage($jsToken) {
|
|
|
// 注意 URL 一定要动态获取,不能 hardcode.
|
|
|
$protocol = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443) ? "https://" : "http://";
|
|
|
- $url = "$protocol$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
|
|
|
+ //$url = "$protocol$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
|
|
|
+ $url = "$protocol$_SERVER[HTTP_HOST]/front-page/fission-page.html";
|
|
|
|
|
|
$nonceStr = self::createNonceStr();
|
|
|
$timestamp = time();
|