chore(notice): 规范修复与安装演练收尾

This commit is contained in:
augushong
2026-10-12 13:40:40 +00:00
parent 3b6cb66549
commit a756b8a1cd
23 changed files with 978 additions and 981 deletions

View File

@@ -1,7 +1,7 @@
<?php
use think\migration\Migrator;
use think\migration\db\Column;
use think\migration\Migrator;
/**
* system_admin 追加电子邮箱字段(幂等,已存在则跳过).
@@ -12,7 +12,7 @@ class SystemAdminEmail extends Migrator
{
$table = $this->table('system_admin');
if(!$table->hasColumn('email')){
if (!$table->hasColumn('email')) {
$table->addColumn(Column::char('email', 100)->setDefault('')->setComment('电子邮箱'));
$table->update();
}

View File

@@ -6,7 +6,7 @@ use think\console\Output;
use think\migration\Migrator;
/**
* 通知管理菜单与 notify 配置默认值对齐
* 通知管理菜单与 notify 配置默认值对齐.
*
* 背景:通知系统特性落地(system.notice 模块 + sysconfig notify 配置组),
* 快照变更配套迁移——adminInitData/SystemMenu.php 追加「通知管理」菜单