Commit 0a656c82 authored by 章建武's avatar 章建武

dep

parent 437c79d1
...@@ -80,7 +80,7 @@ class IndexController extends Controller ...@@ -80,7 +80,7 @@ class IndexController extends Controller
->get(); ->get();
$events = IndexEvents::query()->where('language_type', '=', $language_type)->get(); $events = IndexEvents::query()->where('language_type', '=', $language_type)->get();
$setting = IndexSetting::query()->first(); $setting = IndexSetting::query()->first();
return view('index.index') return view('index')
->with('banner1',$banner1) ->with('banner1',$banner1)
->with('banner2',$banner2) ->with('banner2',$banner2)
->with('banner3',$banner3) ->with('banner3',$banner3)
......
...@@ -13,7 +13,7 @@ use Illuminate\Support\Facades\Route; ...@@ -13,7 +13,7 @@ use Illuminate\Support\Facades\Route;
| |
*/ */
Route::get('/index','Index\IndexController@index');//网站首页 Route::get('/','Index\IndexController@index');//网站首页
Route::get('en/index','Index\IndexController@index'); Route::get('en/index','Index\IndexController@index');
Route::get('/map','Index\IndexController@map')->name('map'); Route::get('/map','Index\IndexController@map')->name('map');
Route::get('/about','Index\AboutController@index')->name('/about');//关于页 Route::get('/about','Index\AboutController@index')->name('/about');//关于页
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment