Browse Source

删除报错

rkljw 7 tháng trước cách đây
mục cha
commit
7e407fea26
3 tập tin đã thay đổi với 4 bổ sung2 xóa
  1. 1 1
      app/JsonRpc/WebsiteService.php
  2. 1 1
      runtime/hyperf.pid
  3. 2 0
      runtime/logs/hyperf.log

+ 1 - 1
app/JsonRpc/WebsiteService.php

@@ -800,7 +800,7 @@ class WebsiteService implements WebsiteServiceInterface
             $differenceIDS = array_diff($data['old_category_arr_id'], $categoryIds);
             //有差异  删除
             if(count($differenceIDS)>0){
-                 WebsiteCategory::where(['website_id'=>$data['category_id']])->whereIn("category_id",$differenceIDS)->delete();
+                 WebsiteCategory::where(['website_id'=>$data['website_id']])->whereIn("category_id",$differenceIDS)->delete();
             }
             //新的数组重新创建
             if(count($data['new_category_arr_id'])>0){

+ 1 - 1
runtime/hyperf.pid

@@ -1 +1 @@
-23179
+9760

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 2 - 0
runtime/logs/hyperf.log


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác