Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
php
/
maf
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c1fa1aa8
authored
Jan 14, 2020
by
doszhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dos
parent
bfe8229c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
Application/Home/Controller/UserTrait.class.php
+3
-6
No files found.
Application/Home/Controller/UserTrait.class.php
View file @
c1fa1aa8
...
@@ -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'
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment