|
@@ -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));
|
|
|
}
|
|
|
|
|
|
/**
|