Просмотр исходного кода

Merge branch '20250522_diywebfr'

15313670163 5 месяцев назад
Родитель
Сommit
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('解除相关组件关联关系失败!');