Files
sam-kd/models/_request.php
hskwon aca1767eb9 초기 커밋: 5130 레거시 시스템
- URL 하드코딩 → .env APP_URL 기반 동적 URL로 변경
- DB 연결 하드코딩 → .env 기반으로 변경
- MySQL strict mode DATE 오류 수정
2025-12-10 20:14:31 +09:00

11 lines
878 B
PHP

<?php
$model_id = isset($_REQUEST['model_id']) && $_REQUEST['model_id'] !== '' ? $_REQUEST['model_id'] : NULL;
$model_name = isset($_REQUEST['model_name']) && $_REQUEST['model_name'] !== '' ? $_REQUEST['model_name'] : NULL;
$finishing_type = isset($_REQUEST['finishing_type']) && $_REQUEST['finishing_type'] !== '' ? $_REQUEST['finishing_type'] : NULL;
$description = isset($_REQUEST['description']) && $_REQUEST['description'] !== '' ? $_REQUEST['description'] : NULL;
$update_log = isset($_REQUEST['update_log']) && $_REQUEST['update_log'] !== '' ? $_REQUEST['update_log'] : NULL;
$is_deleted = isset($_REQUEST['is_deleted']) && $_REQUEST['is_deleted'] !== '' ? $_REQUEST['is_deleted'] : 0;
$major_category = isset($_REQUEST['major_category']) && $_REQUEST['major_category'] !== '' ? $_REQUEST['major_category'] : NULL;
$guiderail_type = $_REQUEST['guiderail_type'] ?? '';
?>