Commit c1fa1aa8 by doszhang

dos

parent bfe8229c
...@@ -47,17 +47,14 @@ trait UserTrait ...@@ -47,17 +47,14 @@ trait UserTrait
// 授权接口 这里get拿到两个数据 openid和token todo 会员判断先关实现和位置思量 // 授权接口 这里get拿到两个数据 openid和token todo 会员判断先关实现和位置思量
public function auth() public function auth()
{ {
// echo "<pre>"; echo "<pre>";
// print_r($_GET); print_r($_GET);
// die(); die();
//如果是分享出去的链接,重新授权 //如果是分享出去的链接,重新授权
if (!empty($_GET['from'])) { if (!empty($_GET['from'])) {
$this->request_auth(); $this->request_auth();
exit(0); exit(0);
} }
echo '<pre>';
print_r($_GET);
die();
$openid = $_GET['openid']; $openid = $_GET['openid'];
$access_token = $_GET['access_token']; $access_token = $_GET['access_token'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment