...
|
...
|
@@ -620,11 +620,11 @@ module.exports = class extends global.yoho.BaseModel { |
|
|
};
|
|
|
|
|
|
if (!userInfo.nickname || !userInfo.username || userInfo.birthday === '') {
|
|
|
respData = {
|
|
|
respData = Promise.resolve({
|
|
|
code: 400,
|
|
|
message: '缺失必填项',
|
|
|
data: ''
|
|
|
};
|
|
|
});
|
|
|
} else {
|
|
|
respData = userDataModel.editUserInfo(userInfo);
|
|
|
}
|
...
|
...
|
|