ComposerUpdate

This commit is contained in:
Anyon 2020-09-27 12:05:03 +08:00
parent c4f728dffc
commit 1da38d43a4
3 changed files with 10 additions and 8 deletions

View File

@ -573,8 +573,8 @@
}, },
{ {
"name": "symfony/options-resolver", "name": "symfony/options-resolver",
"version": "v3.4.44", "version": "v3.4.45",
"version_normalized": "3.4.44.0", "version_normalized": "3.4.45.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/options-resolver.git", "url": "https://github.com/symfony/options-resolver.git",
@ -963,12 +963,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/zoujingli/ThinkLibrary.git", "url": "https://github.com/zoujingli/ThinkLibrary.git",
"reference": "670baa69b68333030bf6abb551e32cebb737eeed" "reference": "3a7ff93e03acdcf5c723c7c4edcb36c9c9828e6a"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/670baa69b68333030bf6abb551e32cebb737eeed", "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/3a7ff93e03acdcf5c723c7c4edcb36c9c9828e6a",
"reference": "670baa69b68333030bf6abb551e32cebb737eeed", "reference": "3a7ff93e03acdcf5c723c7c4edcb36c9c9828e6a",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@ -985,7 +985,7 @@
"ext-mbstring": "*", "ext-mbstring": "*",
"topthink/framework": "^6.0" "topthink/framework": "^6.0"
}, },
"time": "2020-09-27T02:22:50+00:00", "time": "2020-09-27T03:40:51+00:00",
"type": "library", "type": "library",
"extra": { "extra": {
"think": { "think": {

2
vendor/services.php vendored
View File

@ -1,5 +1,5 @@
<?php <?php
// This file is automatically generated at:2020-09-27 10:57:15 // This file is automatically generated at:2020-09-27 12:04:48
declare (strict_types = 1); declare (strict_types = 1);
return array ( return array (
0 => 'think\\admin\\Library', 0 => 'think\\admin\\Library',

View File

@ -78,7 +78,9 @@ class ExpressService extends Service
if (isset($result['data']['info']['context']) && isset($result['data']['info']['state'])) { if (isset($result['data']['info']['context']) && isset($result['data']['info']['state'])) {
$state = intval($result['data']['info']['state']); $state = intval($result['data']['info']['state']);
$status = in_array($state, [0, 1, 5]) ? 2 : ($state === 3 ? 3 : 4); $status = in_array($state, [0, 1, 5]) ? 2 : ($state === 3 ? 3 : 4);
foreach ($result['data']['info']['context'] as $vo) $list[] = ['time' => date('Y-m-d H:i:s', $vo['time']), 'context' => $vo['desc']]; foreach ($result['data']['info']['context'] as $vo) {
$list[] = ['time' => date('Y-m-d H:i:s', intval($vo['time'])), 'context' => $vo['desc']];
}
$result = ['message' => $result['msg'], 'status' => $status, 'express' => $code, 'number' => $number, 'data' => $list]; $result = ['message' => $result['msg'], 'status' => $status, 'express' => $code, 'number' => $number, 'data' => $list];
$this->app->cache->set($ckey, $result, 10); $this->app->cache->set($ckey, $result, 10);
return $result; return $result;