ä¿修复定时任务列表妆åç妆åæ状态
This commit is contained in:
parent
16586cdd14
commit
bc4582caf4
@ -73,7 +73,9 @@ class Crontab extends CatchController
|
||||
*/
|
||||
public function update(Request $request, $id)
|
||||
{
|
||||
new CronExpression($request->post('cron'));
|
||||
if($request->post('cron')){
|
||||
new CronExpression($request->post('cron'));
|
||||
}
|
||||
|
||||
return CatchResponse::success($this->model->updateBy($id, $request->post()));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user