feat: 添加站点配置/配置项分页/配置项详情/配置项新增/配置项更新/配置项删除接口/站点配置项

接口/站点配置项更新接口/配置项类型接口/配置项分组接口
This commit is contained in:
2025-03-06 18:03:44 +08:00
parent f80c09c7e6
commit 48f01ee8a6
12 changed files with 648 additions and 1 deletions

View File

@@ -0,0 +1,33 @@
<?php
declare (strict_types = 1);
namespace app\common\model;
/**
* 系统配置模型
* @mixin \think\Model
*/
class SysConfigBaseModel extends BaseModel
{
// 表名
protected $name = 'sys_config';
// 主键
protected $pk = 'id';
// 字段信息
protected $schema = [
'id' => 'int',
'group_id' => 'int',
'title' => 'string',
'name' => 'string',
'value' => 'string',
'extra' => 'string',
'type' => 'string',
'sort' => 'int',
'remark' => 'string',
'created_at' => 'datetime',
'updated_at' => 'datetime',
'deleted_at' => 'datetime',
];
}