deeplink debug 코드 추가
This commit is contained in:
@@ -167,22 +167,29 @@ export const getSystemSettings = (
|
||||
};
|
||||
|
||||
export function checkValidCountry(ricCode, country) {
|
||||
// 🔍 DEEPLINK DEBUG: 국가 유효성 검사
|
||||
console.log("🔍 [DEEPLINK DEBUG] ===== checkValidCountry 실행 =====");
|
||||
console.log("🔍 [DEEPLINK DEBUG] ricCode:", ricCode);
|
||||
console.log("🔍 [DEEPLINK DEBUG] country:", country);
|
||||
|
||||
let result = false;
|
||||
|
||||
if (ricCode === "aic") {
|
||||
if (country === "US") return true;
|
||||
else return false;
|
||||
result = country === "US";
|
||||
console.log("🔍 [DEEPLINK DEBUG] AIC 지역 - US 검사 결과:", result);
|
||||
} else if (ricCode === "eic") {
|
||||
if (country === "GB" || country === "DE") return true;
|
||||
else return false;
|
||||
result = country === "GB" || country === "DE";
|
||||
console.log("🔍 [DEEPLINK DEBUG] EIC 지역 - GB/DE 검사 결과:", result);
|
||||
} else if (ricCode === "ruc") {
|
||||
if (country === "RU") return true;
|
||||
else return false;
|
||||
result = country === "RU";
|
||||
console.log("🔍 [DEEPLINK DEBUG] RUC 지역 - RU 검사 결과:", result);
|
||||
} else {
|
||||
if (country === "US") {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
result = country === "US";
|
||||
console.log("🔍 [DEEPLINK DEBUG] 기타 지역 - US 기본값 검사 결과:", result);
|
||||
}
|
||||
|
||||
console.log("🔍 [DEEPLINK DEBUG] 최종 유효성 검사 결과:", result);
|
||||
return result;
|
||||
}
|
||||
|
||||
// 3.0 ~ 4.5
|
||||
|
||||
Reference in New Issue
Block a user