POP 내역 총 보유 · 예약 · 사용 가능 3구분 · 온보딩 추천인 코드
This commit is contained in:
@@ -164,7 +164,13 @@ class SampleOnboardingRepository implements OnboardingRepository {
|
||||
}) async => profile = (nickname: nickname, country: country, locale: locale);
|
||||
|
||||
@override
|
||||
Future<void> attributeReferral(String code) async => referral = code;
|
||||
Future<void> attributeReferral(String code) async {
|
||||
// 서버 `fnReferralAttribute` 처럼 1인 1회 — 두 번째는 거절(E-POP-03).
|
||||
if (referral != null) {
|
||||
throw const BackendException('E-POP-03', '이미 처리된 추천입니다.');
|
||||
}
|
||||
referral = code;
|
||||
}
|
||||
|
||||
@override
|
||||
Future<List<OnboardingFandom>> fandoms({String query = ''}) async => [
|
||||
|
||||
Reference in New Issue
Block a user