更新网站架构

This commit is contained in:
2026-03-09 16:35:17 +08:00
parent 4cbc52c51b
commit bf0daf987b
180 changed files with 60682 additions and 491 deletions
+37
View File
@@ -0,0 +1,37 @@
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: Liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
namespace app\model\System;
use think\Model;
use think\model\concern\SoftDelete;
/**
* 系统域名池模型
*/
class SystemDomainPool extends Model
{
// 数据库表名
protected $name = 'mete_system_domain_pool';
// 字段类型转换
protected $type = [
'id' => 'integer',
'main_domain' => 'string',
'status' => 'integer',
'create_time' => 'datetime',
'update_time' => 'datetime',
'delete_time' => 'datetime',
];
}
+25
View File
@@ -0,0 +1,25 @@
<?php
declare(strict_types=1);
namespace app\model\Template;
use think\Model;
use think\model\concern\SoftDelete;
class TemplateSiteConfig extends Model
{
use SoftDelete;
protected $name = 'mete_template_site_config';
protected $type = [
'id' => 'integer',
'tid' => 'integer',
'key' => 'string',
'value' => 'string',
'create_time' => 'datetime',
'update_time' => 'datetime',
'delete_time' => 'datetime',
];
}
+25
View File
@@ -0,0 +1,25 @@
<?php
declare(strict_types=1);
namespace app\model\Template;
use think\Model;
use think\model\concern\SoftDelete;
class TemplateThemeData extends Model
{
use SoftDelete;
protected $name = 'mete_template_theme_data';
protected $type = [
'id' => 'integer',
'theme_key' => 'string',
'field_key' => 'string',
'field_value' => 'string',
'create_time' => 'datetime',
'update_time' => 'datetime',
'delete_time' => 'datetime',
];
}
+36
View File
@@ -0,0 +1,36 @@
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: Liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
namespace app\model\Tenant;
use think\Model;
/**
* 租户域名模型
*/
class TenantDomain extends Model
{
// 数据库表名
protected $name = 'mete_tenant_domain';
// 字段类型转换
protected $type = [
'id' => 'integer',
'tenant_id' => 'integer',
'sub_domain' => 'string',
'main_domain' => 'string',
'full_domain' => 'string',
'status' => 'integer',
'create_time' => 'datetime',
'update_time' => 'datetime',
'delete_time' => 'datetime',
];
}