Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
aic_duty_strategy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
yinxiaoling
aic_duty_strategy
Commits
e1102d24
Commit
e1102d24
authored
May 10, 2020
by
yinxiaoling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录及首页路由视图文件添加
parent
1573605b
Pipeline
#2477
failed with stages
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
47 additions
and
9 deletions
+47
-9
.env
.env
+8
-8
HomeController.php
app/Http/Controllers/HomeController.php
+29
-0
app.php
config/app.php
+1
-1
login.blade.php
resources/views/auth/login.blade.php
+2
-0
home.blade.php
resources/views/home.blade.php
+2
-0
web.php
routes/web.php
+5
-0
No files found.
.env
View file @
e1102d24
...
...
@@ -6,12 +6,12 @@ APP_URL=http://localhost
LOG_CHANNEL=stack
DB_CONNECTION=
my
sql
DB_CONNECTION=
pg
sql
DB_HOST=127.0.0.1
DB_PORT=
3306
DB_DATABASE=
homestead
DB_USERNAME=
homestead
DB_PASSWORD=
secret
DB_PORT=
5432
DB_DATABASE=
postgres
DB_USERNAME=
postgres
DB_PASSWORD=
yhhl123
BROADCAST_DRIVER=log
CACHE_DRIVER=file
...
...
@@ -19,9 +19,9 @@ QUEUE_CONNECTION=sync
SESSION_DRIVER=file
SESSION_LIFETIME=120
REDIS_HOST=12
7.0.0.1
REDIS_PASSWORD=
null
REDIS_PORT=
6379
REDIS_HOST=12
0.77.61.117
REDIS_PASSWORD=
5gwW1hWM7xAtFdKxxbeAhzDpW50MOdimAMMw
REDIS_PORT=
8293
MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
...
...
app/Http/Controllers/HomeController.php
0 → 100644
View file @
e1102d24
<?php
namespace
App\Http\Controllers
;
use
Illuminate\Http\Request
;
class
HomeController
extends
Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public
function
__construct
()
{
$this
->
middleware
(
'auth'
);
}
/**
* Show the application dashboard.
*
* @return \Illuminate\Http\Response
*/
public
function
index
(){
//dd('首页');
return
view
(
'home'
);
}
}
config/app.php
View file @
e1102d24
...
...
@@ -67,7 +67,7 @@ return [
|
*/
'timezone'
=>
'
UT
C'
,
'timezone'
=>
'
PR
C'
,
/*
|--------------------------------------------------------------------------
...
...
resources/views/auth/login.blade.php
0 → 100644
View file @
e1102d24
<?php
dd
(
'登录视图页'
);
\ No newline at end of file
resources/views/home.blade.php
0 → 100644
View file @
e1102d24
<?php
dd
(
'登录后首页视图页'
);
\ No newline at end of file
routes/web.php
View file @
e1102d24
...
...
@@ -14,3 +14,8 @@
Route
::
get
(
'/'
,
function
()
{
return
view
(
'welcome'
);
});
Auth
::
routes
();
Route
::
get
(
'/home'
,
'HomeController@index'
)
->
name
(
'home'
);
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