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
0a656c82
Commit
0a656c82
authored
May 30, 2020
by
章建武
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dep
parent
437c79d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
IndexController.php
app/Http/Controllers/Index/IndexController.php
+1
-1
web.php
routes/web.php
+1
-1
No files found.
app/Http/Controllers/Index/IndexController.php
View file @
0a656c82
...
...
@@ -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
.index
'
)
return
view
(
'index'
)
->
with
(
'banner1'
,
$banner1
)
->
with
(
'banner2'
,
$banner2
)
->
with
(
'banner3'
,
$banner3
)
...
...
routes/web.php
View file @
0a656c82
...
...
@@ -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
(
'/map'
,
'Index\IndexController@map'
)
->
name
(
'map'
);
Route
::
get
(
'/about'
,
'Index\AboutController@index'
)
->
name
(
'/about'
);
//关于页
...
...
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