ComposerUpdate

This commit is contained in:
邹景立 2021-05-19 13:57:59 +08:00
parent 49ee74a5ce
commit 6e27505e75
3 changed files with 7 additions and 7 deletions

View File

@ -834,12 +834,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/zoujingli/ThinkLibrary.git", "url": "https://github.com/zoujingli/ThinkLibrary.git",
"reference": "e2c63ede57564e638e54bbca483d307b639b114a" "reference": "0c3fd320b8056d6a73d9b0db4ca8e97cf7bbf5e1"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/e2c63ede57564e638e54bbca483d307b639b114a", "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/0c3fd320b8056d6a73d9b0db4ca8e97cf7bbf5e1",
"reference": "e2c63ede57564e638e54bbca483d307b639b114a", "reference": "0c3fd320b8056d6a73d9b0db4ca8e97cf7bbf5e1",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
@ -856,7 +856,7 @@
"ext-mbstring": "*", "ext-mbstring": "*",
"topthink/framework": "^6.0" "topthink/framework": "^6.0"
}, },
"time": "2021-05-18T06:14:56+00:00", "time": "2021-05-19T04:39:49+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:2021-05-19 09:58:17 // This file is automatically generated at:2021-05-19 13:57:33
declare (strict_types = 1); declare (strict_types = 1);
return array ( return array (
0 => 'think\\admin\\Library', 0 => 'think\\admin\\Library',

View File

@ -54,10 +54,10 @@ class SaveHelper extends Helper
return false; return false;
} }
// 执行更新操作 // 执行更新操作
$query->where($where)->update($data); $result = $query->where($where)->update($data) !== false;
// 结果回调处理 // 结果回调处理
if (false === $this->class->callback('_save_result', $result)) { if (false === $this->class->callback('_save_result', $result)) {
return true; return $result;
} }
// 回复前端结果 // 回复前端结果
if ($result !== false) { if ($result !== false) {