tongshanglei hace 2 años
padre
commit
6f5147211b
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      catch/transport/controller/StuckPoint.php

+ 3 - 1
catch/transport/controller/StuckPoint.php

@@ -66,7 +66,9 @@ class StuckPoint extends CatchController
      */
     public function update(Request $request, $id) : \think\Response
     {
-        return CatchResponse::success($this->stuckPointModel->updateBy($id, $request->post()));
+        $params=$request->post();
+        $params['macs']=implode(',',$params['macs']);
+        return CatchResponse::success($this->stuckPointModel->updateBy($id, $params));
     }
     
     /**