<?php
 Route::group( [ 'prefix' => config('env.ADMIN_PATH', '/admin/'), 'middleware' => [ \TechSoft\Laravel\Admin\Middleware\AdminAuthMiddleware::class, ] ], function () { include __DIR__ . '/../../vendor/tech-soft/laravel/src/Admin/Routes/routes.php'; Route::match(['get', 'post'], '', '\App\Http\Controllers\Admin\IndexController@index'); Route::match(['get', 'post'], 'config/setting', '\App\Http\Controllers\Admin\ConfigController@setting'); Route::match(['get', 'post'], 'config/email', '\App\Http\Controllers\Admin\ConfigController@email'); Route::match(['get', 'post'], 'config/sms', '\App\Http\Controllers\Admin\ConfigController@sms'); Route::match(['get', 'post'], 'config/visit', '\App\Http\Controllers\Admin\ConfigController@visit'); Route::match(['get', 'post'], 'config/register', '\App\Http\Controllers\Admin\ConfigController@register'); Route::match(['get', 'post'], 'config/pay_alipay', '\App\Http\Controllers\Admin\ConfigController@payAlipay'); Route::match(['get', 'post'], 'config/pay_wechat_mobile', '\App\Http\Controllers\Admin\ConfigController@payWechatMobile'); Route::match(['get', 'post'], 'config/pay_wechat', '\App\Http\Controllers\Admin\ConfigController@payWechat'); Route::match(['get', 'post'], 'config/oauth_qq', '\App\Http\Controllers\Admin\ConfigController@oauthQQ'); Route::match(['get', 'post'], 'config/oauth_wechat_mobile', '\App\Http\Controllers\Admin\ConfigController@oauthWechatMobile'); Route::match(['get', 'post'], 'config/oauth_weibo', '\App\Http\Controllers\Admin\ConfigController@oauthWeibo'); Route::match(['get', 'post'], 'config/oauth_wechat_server', '\App\Http\Controllers\Admin\ConfigController@oauthWechatServer'); Route::match(['get', 'post'], 'config/retrieve', '\App\Http\Controllers\Admin\ConfigController@retrieve'); Route::match(['get', 'post'], 'config/contact', '\App\Http\Controllers\Admin\ConfigController@contact'); }); Route::group( [ 'middleware' => [ \TechSoft\Laravel\Admin\Middleware\AdminAuthMiddleware::class, ] ], function () { Route::match(['get', 'post'], 'data/image_select_dialog', '\App\Http\Controllers\Admin\DataController@imageSelectDialog'); });