fix : API Version 관리 추가 - 초기에는 v1으로 개발

(cherry picked from commit 09bf8ac599)
This commit is contained in:
2025-07-18 11:37:07 +09:00
committed by 권혁성
parent a9bd99b255
commit 40fca3295e
14 changed files with 132 additions and 281 deletions

View File

@@ -0,0 +1,16 @@
<?php
namespace App\Http\Controllers\Api\V1;
use App\Helpers\ApiResponse;
use Illuminate\Support\Facades\DB;
class CommonController
{
public static function getComeCode()
{
$query = DB::table('COM_CODE')
->select(['CODE_TP_ID', 'CODE_ID', 'CODE_VAL', 'CODE_DESC', 'USE_YN']);
return ApiResponse::response('get', $query);
}
}