mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
修改系统模板
This commit is contained in:
parent
ef63ee2eed
commit
ac2c00bd59
@ -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 {
|
||||
|
@ -16,6 +16,6 @@
|
||||
return [
|
||||
'name' => 'admin',
|
||||
'author' => 'Anyon',
|
||||
'version' => '2020.08.03.00',
|
||||
'version' => '2020.08.03.01',
|
||||
'content' => 'ThinkAdmin 系统基础模块',
|
||||
];
|
Loading…
x
Reference in New Issue
Block a user