Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
fashion_group
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
章建武
fashion_group
Commits
437c79d1
Commit
437c79d1
authored
May 30, 2020
by
章建武
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dep
parent
cdf3b953
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
IndexController.php
app/Http/Controllers/Index/IndexController.php
+1
-1
web.php
routes/web.php
+2
-2
No files found.
app/Http/Controllers/Index/IndexController.php
View file @
437c79d1
...
...
@@ -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
)
...
...
routes/web.php
View file @
437c79d1
...
...
@@ -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关于页
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment