Authored by yyq

Merge branch 'feature/userBirth' into release/0627

@@ -86,14 +86,13 @@ module.exports = class extends global.yoho.BaseModel { @@ -86,14 +86,13 @@ module.exports = class extends global.yoho.BaseModel {
86 editUserInfo(userInfo) { 86 editUserInfo(userInfo) {
87 87
88 let data = { 88 let data = {
89 - method: 'app.passport.modifyBase', 89 + method: 'app.passport.modifyUserInfo',
90 uid: userInfo.uid, 90 uid: userInfo.uid,
91 nick_name: userInfo.nickname, 91 nick_name: userInfo.nickname,
92 username: userInfo.username, 92 username: userInfo.username,
93 gender: userInfo.gender, 93 gender: userInfo.gender,
94 profession: userInfo.profession, 94 profession: userInfo.profession,
95 - income: userInfo.income,  
96 - birthday: userInfo.birthday 95 + income: userInfo.income
97 }; 96 };
98 97
99 return this.get({ 98 return this.get({