addLog(Admin::user(), $request->remark); return $this->response()->success('添加备注成功')->refresh(); } catch (\Exception $exception) { return $this->response()->error($exception->getMessage())->refresh(); } } public function form(User $user) { $this->textarea('remark', '备注')->required(); } }