Преглед на файлове

Merge branch '20250522_diywebfr'

15313670163 преди 5 месеца
родител
ревизия
1ccd4889ad
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/JsonRpc/PublicRpcService.php

+ 1 - 1
app/JsonRpc/PublicRpcService.php

@@ -1310,7 +1310,7 @@ class PublicRpcService implements PublicRpcServiceInterface
         }
         Db::beginTransaction();
         try {
-            $component_id = SectorComponent::where('sector_id', $sector['sector_id'])->delete();
+            $component_id = SectorComponent::where('sectorid', $data['id'])->delete();
             if (empty($component_id)) {
                 Db::rollBack();
                 return Result::error('解除相关组件关联关系失败!');