init: 项目初始代码
This commit is contained in:
18
app/api/controller/v1/Country.php
Normal file
18
app/api/controller/v1/Country.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
namespace app\api\controller\v1;
|
||||
|
||||
use app\api\model\Country as CountryModel;
|
||||
|
||||
/**
|
||||
* Class Country
|
||||
* @package app\api\controller
|
||||
*/
|
||||
class Country extends Base
|
||||
{
|
||||
public function initialize()
|
||||
{
|
||||
parent::initialize();
|
||||
$this->model = new CountryModel();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user