tongshanglei 2 年之前
父節點
當前提交
6c581225aa
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      catch/hydraulic/controller/DeviceMold.php

+ 1 - 1
catch/hydraulic/controller/DeviceMold.php

@@ -64,7 +64,7 @@ class DeviceMold extends CatchController
      */
     public function delete($id) : \think\Response
     {
-        return CatchResponse::success($this->deviceMoldModel->deleteBy($id));
+        return CatchResponse::success($this->deviceMoldModel->deleteBy($id,true));
     }
       /**
      * 根据设备类型获取设备型号