feat : cart
This commit is contained in:
@@ -279,7 +279,7 @@ abstract class LoginBaseService extends BaseService
|
||||
|
||||
if ($this->userModel->checkInviteCodeIsUse($inviteCode) == 1) return;
|
||||
|
||||
if (!$this->userModel->where('id', $inviteCode)->update(['invite_code' => $inviteCode])) throw new ErrException('注册失败-00004');
|
||||
if (!$this->userModel->where('id', $this->userId)->update(['invite_code' => $inviteCode])) throw new ErrException('注册失败-00004');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user