init: 项目初始代码
This commit is contained in:
23
app/api/model/Country.php
Normal file
23
app/api/model/Country.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
namespace app\api\model;
|
||||
|
||||
/**
|
||||
* 全球国家列表
|
||||
* @mixin \think\Model
|
||||
*/
|
||||
class Country extends BaseModel
|
||||
{
|
||||
protected $schema = [
|
||||
'id' => 'int',
|
||||
'en' => 'string',
|
||||
'code' => 'string',
|
||||
'tw' => 'string',
|
||||
'zh' => 'string',
|
||||
'icon' => 'string',
|
||||
'locale' => 'string',
|
||||
'create_time' => 'int',
|
||||
'update_time' => 'int'
|
||||
];
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user