ROUTES 대소문자 수정

This commit is contained in:
2025-12-29 15:48:58 +09:00
parent bbe47ad097
commit e377dee571

View File

@@ -35,6 +35,8 @@ class NaverWorker extends BaseCommand
try {
$payload = json_decode($rawData, true);
CLI::write("Processing: " . json_encode($payload, JSON_UNESCAPED_UNICODE));
$requestType = $payload['requestType'] ?? '';
if (!in_array($requestType, ['REG', 'MOD', 'CNC', 'FIN'])) {
throw new \Exception("잘못된 요청 유형: $requestType");