You've already forked lubo_comment_query
自动保存最新时间
This commit is contained in:
@ -41,6 +41,12 @@ class ProgramVideoConstructController extends BaseController
|
||||
}
|
||||
$program_video->created_at = $request->post("created_at");
|
||||
$program_video->update($updatePayload);
|
||||
/**
|
||||
* @var $program Programs
|
||||
*/
|
||||
$program = $program_video->program;
|
||||
$program->created_at = $program->video_pivots()->first()->created_at;
|
||||
$program->save();
|
||||
return redirect(route("program.construct.video.list", [
|
||||
"program"=>$program_video->program_id
|
||||
]));
|
||||
|
Reference in New Issue
Block a user