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
c87343ce
Commit
c87343ce
authored
Jun 15, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
97dc18de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
RegisterService.php
application/api/service/RegisterService.php
+2
-8
No files found.
application/api/service/RegisterService.php
View file @
c87343ce
...
@@ -96,14 +96,8 @@ class RegisterService
...
@@ -96,14 +96,8 @@ class RegisterService
//保存数据
//保存数据
$id
=
$this
->
userModel
->
saveUser
(
$userArr
);
$id
=
$this
->
userModel
->
saveUser
(
$userArr
);
if
(
$id
<=
0
)
/* //绑定微信
return
[
"code"
=>
101
,
"data"
=>
"用户更新失败"
];
if ($wxInfoArr) {
$params["user_id"] = $id;
$params["id"] = $wxInfoArr[0]["id"];
$this->wxInfoModel->updateWxInfo($params);
}*/
$jwt_data
[
'id'
]
=
$id
;
$jwt_data
[
'id'
]
=
$id
;
$jwt_data
[
'userNick'
]
=
$user_nick
;
$jwt_data
[
'userNick'
]
=
$user_nick
;
$jwt_data
[
'phone'
]
=
$phone
;
$jwt_data
[
'phone'
]
=
$phone
;
...
...
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