浏览代码

自助建站-流程管理:删除通栏(通栏关联关系由通栏编号变成通栏id修改)

15313670163 5 月之前
父节点
当前提交
7185d7e37e
共有 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();
         Db::beginTransaction();
         try {
         try {
-            $component_id = SectorComponent::where('sector_id', $sector['sector_id'])->delete();
+            $component_id = SectorComponent::where('sectorid', $data['id'])->delete();
             if (empty($component_id)) {
             if (empty($component_id)) {
                 Db::rollBack();
                 Db::rollBack();
                 return Result::error('解除相关组件关联关系失败!');
                 return Result::error('解除相关组件关联关系失败!');