Commit c1fa1aa8 by doszhang

dos

parent bfe8229c
......@@ -47,17 +47,14 @@ trait UserTrait
// 授权接口 这里get拿到两个数据 openid和token todo 会员判断先关实现和位置思量
public function auth()
{
// echo "<pre>";
// print_r($_GET);
// die();
echo "<pre>";
print_r($_GET);
die();
//如果是分享出去的链接,重新授权
if (!empty($_GET['from'])) {
$this->request_auth();
exit(0);
}
echo '<pre>';
print_r($_GET);
die();
$openid = $_GET['openid'];
$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