初始化-安装依赖

This commit is contained in:
2026-03-03 10:06:12 +08:00
parent 3f349a35a4
commit ec8cac4221
187 changed files with 26292 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
<?php
// +----------------------------------------------------------------------
// | saiadmin [ saiadmin快速开发框架 ]
// +----------------------------------------------------------------------
// | Author: sai <1430792918@qq.com>
// +----------------------------------------------------------------------
namespace plugin\saiadmin\app\model\system;
use plugin\saiadmin\basic\think\BaseModel;
/**
* 参数配置模型
*
* sa_system_config 参数配置信息表
*
* @property $id 编号
* @property $group_id 组id
* @property $key 配置键名
* @property $value 配置值
* @property $name 配置名称
* @property $input_type 数据输入类型
* @property $config_select_data 配置选项数据
* @property $sort 排序
* @property $remark 备注
* @property $created_by 创建人
* @property $updated_by 更新人
* @property $create_time 创建时间
* @property $update_time 修改时间
*/
class SystemConfig extends BaseModel
{
/**
* 数据表主键
* @var string
*/
protected $pk = 'id';
protected $table = 'sa_system_config';
public function getConfigSelectDataAttr($value)
{
return json_decode($value ?? '', true);
}
}