일반매물현황 목록 페이지 추가
This commit is contained in:
27
app/Controllers/Common/Common.php
Normal file
27
app/Controllers/Common/Common.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
namespace App\Controllers\Common;
|
||||
|
||||
use App\Controllers\BaseController;
|
||||
use App\Models\common\CommonModel;
|
||||
|
||||
|
||||
class Common extends BaseController
|
||||
{
|
||||
private $model;
|
||||
public function __construct()
|
||||
{
|
||||
$this->model = new CommonModel();
|
||||
}
|
||||
|
||||
public function getVrfcCode()
|
||||
{
|
||||
$type = $this->request->getGet("type");
|
||||
$type = "VRFC_TYPE_SUB_" . $type;
|
||||
|
||||
|
||||
$data = $this->model->getVrfcCode($type);
|
||||
|
||||
return $this->response->setJSON($data);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user