Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
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
hujun
tl_estate
Commits
79977157
Commit
79977157
authored
Jan 07, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录跳转
parent
969b4834
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
24 deletions
+11
-24
Login.php
application/index/controller/Login.php
+8
-0
MainIndex.php
application/index/controller/MainIndex.php
+0
-22
Basic.php
application/index/extend/Basic.php
+2
-1
route.php
application/route.php
+1
-1
No files found.
application/index/controller/Login.php
View file @
79977157
...
...
@@ -197,4 +197,11 @@ class Login extends Basic
return
$this
->
response
(
200
,
''
);
}
}
public
function
mainIndex
()
{
if
(
!
$this
->
request
->
isAjax
())
{
return
view
(
'main_index/main_index'
);
}
}
}
\ No newline at end of file
application/index/controller/MainIndex.php
deleted
100644 → 0
View file @
969b4834
<?php
namespace
app\index\controller
;
/**
* Created by PhpStorm.
* User: liu yin ping
* Date: 2018/3/13
* Time: 15:48
*/
use
app\index\extend\Basic
;
class
MainIndex
extends
Basic
{
public
function
mainIndex
()
{
if
(
!
$this
->
request
->
isAjax
())
{
return
view
(
'main_index/main_index'
);
}
}
}
application/index/extend/Basic.php
View file @
79977157
...
...
@@ -67,7 +67,8 @@ class Basic extends Controller
'index/yindaoAndroid'
,
'index/yindaoIos'
,
'index/getUserMacAddress'
,
'index/getConfigWeek'
'index/getConfigWeek'
,
'index/mainIndex'
);
/**
...
...
application/route.php
View file @
79977157
...
...
@@ -341,7 +341,7 @@ Route::group('index', [
'getPerformanceExcel'
=>
[
'index/Performance/getPerformanceExcel'
,
[
'method'
=>
'POST|GET'
]],
'pictureShow'
=>
[
'index/PictureShow/pictureShow'
,
[
'method'
=>
'POST|GET'
]],
//商铺图库 杜欣源 2018-08-31
'PerformanceRanking'
=>
[
'index/PerformanceRanking/performanceRanking'
,
[
'method'
=>
'POST|GET'
]],
//效绩排行 杜欣源 2018-11-12
'mainIndex'
=>
[
'index/
MainIndex
/mainIndex'
,
[
'method'
=>
'POST|GET'
]],
//首页 杜欣源 2018-11-12
'mainIndex'
=>
[
'index/
login
/mainIndex'
,
[
'method'
=>
'POST|GET'
]],
//首页 杜欣源 2018-11-12
//c端商铺图库相关
'addImageDepot'
=>
[
'index/ImageDepot/addImageDepot'
,
[
'method'
=>
'get | post'
]],
//上传保存图片
...
...
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