修改系统模板

This commit is contained in:
Anyon 2020-08-17 16:30:45 +08:00
parent ef63ee2eed
commit ac2c00bd59
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ class Module extends Controller
$this->current = $locals[$data['name']] ?? [];
$pattern = "|^(\d{4})\.(\d{2})\.(\d{2})\.(\d+)$|";
foreach ($this->module['change'] as $version => &$change) {
$change = ['content' => $change, 'version' => preg_replace($pattern, '于 $1年$2月$3日 第$4次更新', $version)];
$change = ['content' => $change, 'version' => preg_replace($pattern, '于 $1年$2月$3日 第 $4 次更新', $version)];
}
$this->fetch();
} else {

View File

@ -16,6 +16,6 @@
return [
'name' => 'admin',
'author' => 'Anyon',
'version' => '2020.08.03.00',
'version' => '2020.08.03.01',
'content' => 'ThinkAdmin 系统基础模块',
];