add:新增请求过滤空值方法
This commit is contained in:
1
catch/monitor/command/ScheduleCommand.php
Normal file
1
catch/monitor/command/ScheduleCommand.php
Normal file
@@ -0,0 +1 @@
|
||||
<?php
|
1
catch/monitor/command/process/Parser.php
Normal file
1
catch/monitor/command/process/Parser.php
Normal file
@@ -0,0 +1 @@
|
||||
<?php
|
@@ -110,7 +110,7 @@ class User extends CatchController
|
||||
*/
|
||||
public function update($id, UpdateRequest $request)
|
||||
{
|
||||
$this->user->updateBy($id, $request->param());
|
||||
$this->user->updateBy($id, $request->filterEmptyField()->param());
|
||||
|
||||
$user = $this->user->findBy($id);
|
||||
|
||||
|
Reference in New Issue
Block a user