//程式碼原文
public function edit($id='')
{
# $row = (new User())->get('user',[' id','name','dept','art','email'],['id'=>$id]);
return $this->view->render( 'admin::index/edit', [
'title' => '編輯記錄',
'url' => '/admin/index/save',# ; $row,
]);
}