📅  最后修改于: 2022-03-11 14:53:48.730000             🧑  作者: Mango
代码示例2
$page = Page::find($id);
// Make sure you've got the Page model
if($page) {
$page->image = 'imagepath';
$page->save();
}