tongshanglei 2 år sedan
förälder
incheckning
6c581225aa
1 ändrade filer med 1 tillägg och 1 borttagningar
  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));
     }
       /**
      * 根据设备类型获取设备型号