초기 커밋: 5130 레거시 시스템
- URL 하드코딩 → .env APP_URL 기반 동적 URL로 변경 - DB 연결 하드코딩 → .env 기반으로 변경 - MySQL strict mode DATE 오류 수정
This commit is contained in:
10
models/_request.php
Normal file
10
models/_request.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?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'] ?? '';
|
||||
?>
|
||||
Reference in New Issue
Block a user