|
@@ -17,8 +17,8 @@ use wechat_helper;
|
|
|
|
|
|
class wxauthor
|
|
|
{
|
|
|
- const appid = 'wx6b42e00ecaade538';
|
|
|
- const appsecret ='ee64233b3144d76217161666f8cb4c86';
|
|
|
+ const appid = 'wxaf698e1cc5f2073b';
|
|
|
+ const appsecret ='57029331b7f7dbb5913c9d7e14e91278';
|
|
|
|
|
|
const authorize_url = 'https://open.weixin.qq.com/connect/oauth2/authorize';
|
|
|
const access_token_url = 'https://api.weixin.qq.com/sns/oauth2/access_token';
|
|
@@ -36,7 +36,7 @@ class wxauthor
|
|
|
|
|
|
public function enter($origin_url)
|
|
|
{
|
|
|
- $back_url = 'https://passport.lrlz.com/mobile/wxauthor.php';
|
|
|
+ $back_url = 'https://cardev.lrlz.com/mobile/wxauthor.php';
|
|
|
$params = [ 'appid' => self::appid,
|
|
|
'redirect_uri' => $back_url,
|
|
|
'response_type' => 'code',
|