Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
T
test_h5
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
章建武
test_h5
Commits
91cd97f3
Commit
91cd97f3
authored
Dec 26, 2019
by
章建武
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dep
parent
ddbb037e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
WxAuthorizeController.class.php
...ation/Frontend/Controller/WxAuthorizeController.class.php
+2
-2
No files found.
Application/Frontend/Controller/WxAuthorizeController.class.php
View file @
91cd97f3
...
...
@@ -16,7 +16,7 @@ class WxAuthorizeController extends Controller
{
session_start
();
// 授权成功后回到前端的地址
$front_url
=
urlencode
(
trim
(
'http://mallapp.guoguodz.com/
h5_pic
/appwww/index.php'
));
$front_url
=
urlencode
(
trim
(
'http://mallapp.guoguodz.com/
test_h5
/appwww/index.php'
));
if
(
!
$this
->
checkFrontUrl
(
$front_url
))
$this
->
error
(
'url参数不正确'
);
// 获取code后返回的地址
...
...
@@ -31,7 +31,7 @@ class WxAuthorizeController extends Controller
public
function
getUserInfo
()
{
session_start
();
$front_url
=
'http://mallapp.guoguodz.com/
h5_pic
/appwww/index.php'
;
$front_url
=
'http://mallapp.guoguodz.com/
test_h5
/appwww/index.php'
;
$code
=
trim
(
I
(
'get.code'
,
''
));
if
(
empty
(
$code
))
$this
->
error
(
'code参数错误'
);
...
...
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