Commit 437c79d1 authored by 章建武's avatar 章建武

dep

parent cdf3b953
......@@ -80,7 +80,7 @@ class IndexController extends Controller
->get();
$events = IndexEvents::query()->where('language_type', '=', $language_type)->get();
$setting = IndexSetting::query()->first();
return view('index')
return view('index.index')
->with('banner1',$banner1)
->with('banner2',$banner2)
->with('banner3',$banner3)
......
......@@ -13,8 +13,8 @@ use Illuminate\Support\Facades\Route;
|
*/
Route::get('/','Index\IndexController@index');//网站首页
Route::get('en/','Index\IndexController@index');
Route::get('/index','Index\IndexController@index');//网站首页
Route::get('en/index','Index\IndexController@index');
Route::get('/map','Index\IndexController@map')->name('map');
Route::get('/about','Index\AboutController@index')->name('/about');//关于页
Route::get('en/about','Index\AboutController@index')->name('/about');//en关于页
......
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