Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
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
hujun
tl_estate
Commits
17c4f1de
Commit
17c4f1de
authored
Jun 19, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
9db153d1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
WxCallbackUntils.php
application/api/untils/WxCallbackUntils.php
+0
-0
Index.php
application/app_broker/controller/Index.php
+7
-5
No files found.
application/api/untils/WxCallbackUntils.php
View file @
17c4f1de
application/app_broker/controller/Index.php
View file @
17c4f1de
...
@@ -53,18 +53,20 @@ class Index
...
@@ -53,18 +53,20 @@ class Index
$id
=
$this
->
wxInfoModel
->
addWxInfo
(
$userInfo
);
$id
=
$this
->
wxInfoModel
->
addWxInfo
(
$userInfo
);
}
}
}
catch
(
Exception
$exception
)
{
}
catch
(
Exception
$exception
)
{
Log
::
record
(
"wx authorization error,msg:"
.
$exception
);
Log
::
record
(
"wx authorization error,msg:"
.
$exception
);
}
}
$conditions
[
"buyer_id"
]
=
$id
;
$conditions
[
"buyer_id"
]
=
$id
;
$fields
=
"id,user_nick,user_phone,user_pic,other_pic"
;
$fields
=
"id,user_nick,user_phone,user_pic,other_pic"
;
$user_info
=
$this
->
userModel
->
getUserByWhere
(
$conditions
,
$fields
);
$user_info
=
$this
->
userModel
->
getUserByWhere
(
$conditions
,
$fields
);
if
(
count
(
$user_info
)
>
0
)
{
if
(
count
(
$user_info
)
>
0
)
{
//下载页
//下载页
header
(
CURRENT_URL
.
"app/download_c"
);
echo
111111
;
header
(
"Location:"
.
CURRENT_URL
.
"app/download_c"
);
die
();
die
();
}
else
{
}
else
{
//绑定页
//绑定页
header
(
CURRENT_URL
.
"app/dist/index.html#/inviteRegister?referrer_id=160&referrer_source=10"
);
header
(
"Location:"
.
CURRENT_URL
.
"app/dist/index.html#/inviteRegister?referrer_id=160&referrer_source=10"
);
die
();
die
();
}
}
}
}
...
...
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