tongshanglei %!s(int64=2) %!d(string=hai) anos
pai
achega
6c581225aa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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));
     }
       /**
      * 根据设备类型获取设备型号