소스 검색

ComposerUpdate

邹景立 3 년 전
부모
커밋
6e27505e75
3개의 변경된 파일7개의 추가작업 그리고 7개의 파일을 삭제
  1. 4 4
      vendor/composer/installed.json
  2. 1 1
      vendor/services.php
  3. 2 2
      vendor/zoujingli/think-library/src/helper/SaveHelper.php

+ 4 - 4
vendor/composer/installed.json

@@ -834,12 +834,12 @@
         "source": {
             "type": "git",
             "url": "https://github.com/zoujingli/ThinkLibrary.git",
-            "reference": "e2c63ede57564e638e54bbca483d307b639b114a"
+            "reference": "0c3fd320b8056d6a73d9b0db4ca8e97cf7bbf5e1"
         },
         "dist": {
             "type": "zip",
-            "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/e2c63ede57564e638e54bbca483d307b639b114a",
-            "reference": "e2c63ede57564e638e54bbca483d307b639b114a",
+            "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/0c3fd320b8056d6a73d9b0db4ca8e97cf7bbf5e1",
+            "reference": "0c3fd320b8056d6a73d9b0db4ca8e97cf7bbf5e1",
             "shasum": "",
             "mirrors": [
                 {
@@ -856,7 +856,7 @@
             "ext-mbstring": "*",
             "topthink/framework": "^6.0"
         },
-        "time": "2021-05-18T06:14:56+00:00",
+        "time": "2021-05-19T04:39:49+00:00",
         "type": "library",
         "extra": {
             "think": {

+ 1 - 1
vendor/services.php

@@ -1,5 +1,5 @@
 <?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);
 return array (
   0 => 'think\\admin\\Library',

+ 2 - 2
vendor/zoujingli/think-library/src/helper/SaveHelper.php

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