|
@@ -132,7 +132,7 @@ class UserService extends CrudService {
|
|
throw new BusinessError(ErrorCode.USER_NOT_EXIST);
|
|
throw new BusinessError(ErrorCode.USER_NOT_EXIST);
|
|
}
|
|
}
|
|
user.openid = data.openid;
|
|
user.openid = data.openid;
|
|
- await user.save();
|
|
|
|
|
|
+ return await user.save();
|
|
}
|
|
}
|
|
|
|
|
|
async findByOpenid(openid) {
|
|
async findByOpenid(openid) {
|