|
@@ -62,7 +62,7 @@ class UserService extends CrudService {
|
|
|
const user = await this.model.findById(user_id);
|
|
|
if (!user) throw new BusinessError(ErrorCode.USER_NOT_EXIST, '未找到比赛模块用户信息');
|
|
|
const { openid } = user;
|
|
|
- const obj = { user_id, parent_id, type: '2', openid };
|
|
|
+ const obj = { user_id: user._id, parent_id, type: '2', openid };
|
|
|
return this.bindJudge(obj);
|
|
|
}
|
|
|
}
|