From 13722fd0ab155206b37f7babde5cb97a23a3d4ac Mon Sep 17 00:00:00 2001 From: Anyon Date: Tue, 17 Dec 2019 18:43:19 +0800 Subject: [PATCH] ComposerUpdate --- composer.lock | 8 ++++---- vendor/composer/installed.json | 8 ++++---- vendor/services.php | 2 +- .../think-library/src/service/JsonRpcClientService.php | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/composer.lock b/composer.lock index c6780b1c0..11c3daecd 100644 --- a/composer.lock +++ b/composer.lock @@ -909,12 +909,12 @@ "source": { "type": "git", "url": "https://github.com/zoujingli/ThinkLibrary.git", - "reference": "1f0c1902fcab3cd7d257f79d607712619a4b660e" + "reference": "d70ad59df16eebb63e7d8a5596cc943e90d928c9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/1f0c1902fcab3cd7d257f79d607712619a4b660e", - "reference": "1f0c1902fcab3cd7d257f79d607712619a4b660e", + "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/d70ad59df16eebb63e7d8a5596cc943e90d928c9", + "reference": "d70ad59df16eebb63e7d8a5596cc943e90d928c9", "shasum": "", "mirrors": [ { @@ -958,7 +958,7 @@ ], "description": "ThinkPHP v6.0 Development Library", "homepage": "http://framework.thinkadmin.top", - "time": "2019-12-17T10:24:30+00:00" + "time": "2019-12-17T10:36:55+00:00" }, { "name": "zoujingli/wechat-developer", diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index e545a0ee6..556c09db6 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -935,12 +935,12 @@ "source": { "type": "git", "url": "https://github.com/zoujingli/ThinkLibrary.git", - "reference": "1f0c1902fcab3cd7d257f79d607712619a4b660e" + "reference": "d70ad59df16eebb63e7d8a5596cc943e90d928c9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/1f0c1902fcab3cd7d257f79d607712619a4b660e", - "reference": "1f0c1902fcab3cd7d257f79d607712619a4b660e", + "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/d70ad59df16eebb63e7d8a5596cc943e90d928c9", + "reference": "d70ad59df16eebb63e7d8a5596cc943e90d928c9", "shasum": "", "mirrors": [ { @@ -956,7 +956,7 @@ "ext-json": "*", "topthink/framework": "^6.0" }, - "time": "2019-12-17T10:24:30+00:00", + "time": "2019-12-17T10:36:55+00:00", "type": "library", "extra": { "think": { diff --git a/vendor/services.php b/vendor/services.php index 8cf3ec2bb..f422e21f1 100644 --- a/vendor/services.php +++ b/vendor/services.php @@ -1,5 +1,5 @@ 'think\\app\\Service', diff --git a/vendor/zoujingli/think-library/src/service/JsonRpcClientService.php b/vendor/zoujingli/think-library/src/service/JsonRpcClientService.php index ef6d925da..791133890 100644 --- a/vendor/zoujingli/think-library/src/service/JsonRpcClientService.php +++ b/vendor/zoujingli/think-library/src/service/JsonRpcClientService.php @@ -83,7 +83,7 @@ class JsonRpcClientService extends Service if (is_null($response['error'])) { return $response['result']; } else { - throw new \think\Exception("请求错误:[{$response['error']['code']}] {$response['error']['message']}"); + throw new \think\Exception("请求错误:{$response['error']['message']}", $response['error']['code']); } } } \ No newline at end of file