<?php

namespace App\Admin\Actions\backstage\Docters;

use Encore\Admin\Actions\RowAction;
use Illuminate\Database\Eloquent\Model;

class AppointAction extends RowAction
{
    public $name = '门诊预约配置';

    public function handle(Model $model)
    {
        // $model ...

        return $this->response()->success('跳转门诊预约配置成功')->redirect('/admin/docter_appoint?docter_id='.$this->row->id.'');
    }

}