Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
yyq
7 years ago
Commit
d579551062241e336073204fabd7dba5b8ecd950
1 parent
a294a485
change api
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
apps/home/models/user-api.js
apps/home/models/user-api.js
View file @
d579551
...
...
@@ -86,14 +86,13 @@ module.exports = class extends global.yoho.BaseModel {
editUserInfo
(
userInfo
)
{
let
data
=
{
method
:
'app.passport.modify
Base
'
,
method
:
'app.passport.modify
UserInfo
'
,
uid
:
userInfo
.
uid
,
nick_name
:
userInfo
.
nickname
,
username
:
userInfo
.
username
,
gender
:
userInfo
.
gender
,
profession
:
userInfo
.
profession
,
income
:
userInfo
.
income
,
birthday
:
userInfo
.
birthday
income
:
userInfo
.
income
};
return
this
.
get
({
...
...
Please
register
or
login
to post a comment