response()->success('保存成功')->refresh(); } /** * Build a form here. */ public function form() { $this->text('earnest')->required()->help('用户支付订金、定金、首付款的金额'); $this->text('earnest_timeout')->required()->help('单位:分钟。当通过订金、定金、首付款支付时,用户超过该时间未支付将关闭订单,且定金不退'); } /** * The data of the form. * * @return array */ public function default() { return admin_setting()->toArray(); } }