重构初始化

This commit is contained in:
技术老胡
2026-04-15 11:45:46 +08:00
parent 72d72d735b
commit 7612026773
381 changed files with 28287 additions and 14717 deletions

View File

@@ -0,0 +1,32 @@
<?php
namespace app\model\system;
use app\common\base\BaseModel;
/**
* 系统配置模型。
* 适合全局开关、默认策略和运行时参数。
*/
class SystemConfig extends BaseModel
{
protected $table = 'ma_system_config';
protected $primaryKey = 'config_key';
public $incrementing = false;
protected $keyType = 'string';
protected $fillable = [
'config_key',
'group_code',
'config_value',
];
protected $casts = [
'created_at' => 'datetime',
'updated_at' => 'datetime',
];
}