mirror of
https://github.com/certd/certd.git
synced 2026-07-05 19:37:34 +08:00
feat: 新增推广等级激励功能
This commit is contained in:
@@ -139,7 +139,7 @@ export class LoginService {
|
||||
password: '',
|
||||
} as any;
|
||||
info = await this.userService.register('mobile', registerUser, async txManager => {
|
||||
await this.inviteService.bindInvitee(registerUser.id, req.inviteCode, txManager);
|
||||
await this.inviteService.bindInvitee({ manager: txManager }, { inviteeUserId: registerUser.id, inviteCode: req.inviteCode });
|
||||
});
|
||||
}
|
||||
this.clearCacheOnSuccess(mobile);
|
||||
|
||||
Reference in New Issue
Block a user