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
97dc18de
Commit
97dc18de
authored
Jun 15, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
eef9f43e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
WxSdk.php
application/api/controller/WxSdk.php
+2
-2
No files found.
application/api/controller/WxSdk.php
View file @
97dc18de
...
...
@@ -88,9 +88,9 @@ class WxSdk extends Basic
$data
[
"user_pic"
]
=
!
empty
(
$user_pic
)
?
HEADERIMGURL
.
$user_pic
:
$other_pic
;
$data
[
"AuthToken"
]
=
$jwt
->
createToken
(
$jwt_data
);;
return
$this
->
response
(
"200"
,
"request success"
,
[
"data"
=>
$data
]
);
return
$this
->
response
(
"200"
,
"request success"
,
$data
);
}
elseif
(
$id
>
0
&&
count
(
$user_info
)
<=
0
)
{
return
$this
->
response
(
"200"
,
"request success"
,
[
"data"
=>
null
]
);
return
$this
->
response
(
"200"
,
"request success"
);
}
else
{
return
$this
->
response
(
"101"
,
"request exception"
);
}
...
...
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