rkljw 7 mesi fa
parent
commit
1f131f0d84
3 ha cambiato i file con 178 aggiunte e 1 eliminazioni
  1. 1 1
      app/JsonRpc/WebsiteService.php
  2. 0 0
      runtime/container/scan.cache
  3. 177 0
      runtime/logs/hyperf.log

+ 1 - 1
app/JsonRpc/WebsiteService.php

@@ -993,7 +993,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){

File diff suppressed because it is too large
+ 0 - 0
runtime/container/scan.cache


File diff suppressed because it is too large
+ 177 - 0
runtime/logs/hyperf.log


Some files were not shown because too many files changed in this diff