feat : cart

This commit is contained in:
2025-03-31 11:08:19 +08:00
parent 1c8da064d3
commit 2cd27b240c

View File

@@ -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');
}
/**