lrf %!s(int64=2) %!d(string=hai) anos
pai
achega
63962861f9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/service/user.js

+ 1 - 1
app/service/user.js

@@ -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: user._id, parent_id, type: '2', openid };
+    const obj = { user_id, parent_id, type: '2', openid };
     return this.bindJudge(obj);
   }
 }