|
@@ -14,6 +14,10 @@ class HomeController extends Controller
|
|
{
|
|
{
|
|
public function index(Content $content)
|
|
public function index(Content $content)
|
|
{
|
|
{
|
|
|
|
+// dd(\Admin::user()->isRole('financial_staff'));
|
|
|
|
+ if (\Admin::user()->isRole('financial_staff')){
|
|
|
|
+ return redirect('admin/refund_applications');
|
|
|
|
+ }
|
|
return $content
|
|
return $content
|
|
->title('欢迎进入后台管理系统')
|
|
->title('欢迎进入后台管理系统')
|
|
->description('后台数据中心')
|
|
->description('后台数据中心')
|