Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
ic_welfare
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d97e245a
authored
Sep 02, 2019
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改根网址的指向
parent
304119ef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
app/Http/Controllers/IntegralsController.php
routes/web.php
app/Http/Controllers/IntegralsController.php
View file @
d97e245a
...
@@ -17,7 +17,7 @@ class IntegralsController extends Controller
...
@@ -17,7 +17,7 @@ class IntegralsController extends Controller
$this
->
service
=
$service
;
$this
->
service
=
$service
;
}
}
public
function
Entrance
(
Request
$request
,
$id
=
'in
dex
'
)
public
function
Entrance
(
Request
$request
,
$id
=
'in
tegralList
'
)
{
{
if
(
$request
->
path
()
==
'/'
)
{
if
(
$request
->
path
()
==
'/'
)
{
$path
=
'web/index'
;
$path
=
'web/index'
;
...
...
routes/web.php
View file @
d97e245a
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
*/
*/
Route
::
group
([
'middleware'
=>
'web'
],
function
()
{
Route
::
group
([
'middleware'
=>
'web'
],
function
()
{
Route
::
get
(
'/'
,
'
Web
Controller@Entrance'
);
Route
::
get
(
'/'
,
'
Integrals
Controller@Entrance'
);
Route
::
match
([
'get'
,
'post'
],
'/integrals/{key}'
,
'IntegralsController@Entrance'
);
Route
::
match
([
'get'
,
'post'
],
'/integrals/{key}'
,
'IntegralsController@Entrance'
);
Route
::
match
([
'get'
,
'post'
],
'/user_integrals/{key}'
,
'UserIntegralsController@Entrance'
);
Route
::
match
([
'get'
,
'post'
],
'/user_integrals/{key}'
,
'UserIntegralsController@Entrance'
);
...
...
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