ComposerUpdate

This commit is contained in:
Anyon 2019-11-28 18:45:02 +08:00
parent 39dcd2a4e4
commit efb6d29058
2 changed files with 6 additions and 6 deletions

View File

@ -401,12 +401,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/zoujingli/ThinkLibrary.git", "url": "https://github.com/zoujingli/ThinkLibrary.git",
"reference": "8821ce7703baafc18f32668cf949e803e8c19904" "reference": "f8f4cbf479a0a43a00bcf59a57113e1e2d2d8dff"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/8821ce7703baafc18f32668cf949e803e8c19904", "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/f8f4cbf479a0a43a00bcf59a57113e1e2d2d8dff",
"reference": "8821ce7703baafc18f32668cf949e803e8c19904", "reference": "f8f4cbf479a0a43a00bcf59a57113e1e2d2d8dff",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@ -426,7 +426,7 @@
"qiniu/php-sdk": "^7.2", "qiniu/php-sdk": "^7.2",
"topthink/framework": "5.1.*" "topthink/framework": "5.1.*"
}, },
"time": "2019-11-28T09:08:14+00:00", "time": "2019-11-28T10:43:13+00:00",
"type": "library", "type": "library",
"installation-source": "dist", "installation-source": "dist",
"autoload": { "autoload": {

View File

@ -79,8 +79,8 @@ class NodeService extends Service
static $data = []; static $data = [];
if (empty($force)) { if (empty($force)) {
if (count($data) > 0) return $data; if (count($data) > 0) return $data;
$data = (array)$this->app->cache->get('system_auth_node'); $data = $this->app->cache->get('system_auth_node');
if (count($data) > 0) return $data; if (is_array($data) && count($data) > 0) return $data;
} else { } else {
$data = []; $data = [];
} }