tongshanglei 2 年 前
コミット
6f5147211b
共有1 個のファイルを変更した3 個の追加1 個の削除を含む
  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));
     }
     
     /**