ComposerUpdate

This commit is contained in:
Anyon 2020-08-20 17:49:20 +08:00
parent c27f6b336e
commit 98977f7fb7
6 changed files with 12 additions and 12 deletions

View File

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

View File

@ -15,9 +15,9 @@
{foreach $module.change as $version=>$change}
<li class="layui-timeline-item">
{if isset($current.version) and $current.version eq $version}
<i class="layui-icon layui-timeline-axis">&#xe63f;</i>
{else}
<i class="layui-icon layui-timeline-axis">&#xe756;</i>
{else}
<i class="layui-icon layui-timeline-axis">&#xe63f;</i>
{/if}
<div class="layui-timeline-content layui-text">
<h3 class="layui-timeline-title">

8
composer.lock generated
View File

@ -937,12 +937,12 @@
"source": {
"type": "git",
"url": "https://github.com/zoujingli/ThinkLibrary.git",
"reference": "dc2052ced8b4edf72914d4276ee35346f43af582"
"reference": "b236f9f14d4becb0f0dadf479ff2627490909af7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/dc2052ced8b4edf72914d4276ee35346f43af582",
"reference": "dc2052ced8b4edf72914d4276ee35346f43af582",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/b236f9f14d4becb0f0dadf479ff2627490909af7",
"reference": "b236f9f14d4becb0f0dadf479ff2627490909af7",
"shasum": "",
"mirrors": [
{
@ -987,7 +987,7 @@
],
"description": "ThinkPHP v6.0 Development Library",
"homepage": "http://thinkadmin.top",
"time": "2020-08-20T07:41:23+00:00"
"time": "2020-08-20T09:39:39+00:00"
},
{
"name": "zoujingli/wechat-developer",

View File

@ -963,12 +963,12 @@
"source": {
"type": "git",
"url": "https://github.com/zoujingli/ThinkLibrary.git",
"reference": "dc2052ced8b4edf72914d4276ee35346f43af582"
"reference": "b236f9f14d4becb0f0dadf479ff2627490909af7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/dc2052ced8b4edf72914d4276ee35346f43af582",
"reference": "dc2052ced8b4edf72914d4276ee35346f43af582",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/b236f9f14d4becb0f0dadf479ff2627490909af7",
"reference": "b236f9f14d4becb0f0dadf479ff2627490909af7",
"shasum": "",
"mirrors": [
{
@ -985,7 +985,7 @@
"ext-mbstring": "*",
"topthink/framework": "^6.0"
},
"time": "2020-08-20T07:41:23+00:00",
"time": "2020-08-20T09:39:39+00:00",
"type": "library",
"extra": {
"think": {

2
vendor/services.php vendored
View File

@ -1,5 +1,5 @@
<?php
// This file is automatically generated at:2020-08-20 17:38:41
// This file is automatically generated at:2020-08-20 17:48:53
declare (strict_types = 1);
return array (
0 => 'think\\admin\\Library',

View File

@ -17,7 +17,6 @@ namespace think\admin\service;
use think\admin\extend\DataExtend;
use think\admin\Service;
use think\helper\Str;
/**
* 系统权限管理服务