Commit 79977157 authored by hujun's avatar hujun

登录跳转

parent 969b4834
......@@ -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
<?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');
}
}
}
......@@ -67,7 +67,8 @@ class Basic extends Controller
'index/yindaoAndroid',
'index/yindaoIos',
'index/getUserMacAddress',
'index/getConfigWeek'
'index/getConfigWeek',
'index/mainIndex'
);
/**
......
......@@ -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']],//上传保存图片
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment