|
@@ -22,7 +22,8 @@ class Index extends Frontend
|
|
|
$this->error(__('邀请码不对'));
|
|
$this->error(__('邀请码不对'));
|
|
|
}
|
|
}
|
|
|
$appid = 'wx2a2d24fbe2383604';
|
|
$appid = 'wx2a2d24fbe2383604';
|
|
|
- $cmurl = "jy.chengwuwa.cn/index/index/gzhop/id/".$id;//接口地址
|
|
|
|
|
|
|
+// $cmurl = "jy.chengwuwa.cn/index/index/gzhop/id/".$id;//接口地址
|
|
|
|
|
+ $cmurl = "ts.shanghairongxuan.top/index/index/gzhop/id/".$id;//接口地址
|
|
|
#你的公众号appid
|
|
#你的公众号appid
|
|
|
$url="https://open.weixin.qq.com/connect/oauth2/authorize?appid=$appid&redirect_uri=https%3a%2f%2f".$cmurl."&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect";
|
|
$url="https://open.weixin.qq.com/connect/oauth2/authorize?appid=$appid&redirect_uri=https%3a%2f%2f".$cmurl."&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect";
|
|
|
//$url='/login.html';
|
|
//$url='/login.html';
|