Commit 9fa88147 authored by 董先生's avatar 董先生

持仓列表

parent e3e347cd
......@@ -31,9 +31,9 @@ class Home extends Common
protected function _initialize()
{
// 系统开关
if (!config('web_site_status')) {
/* if (!config('web_site_status')) {
$this->error('站点已经关闭,请稍后访问~');
}
}*/
$logo_attach_id = config('web_site_front_end_logo');
$logoPaths = Db::name('admin_attachment')->where('id',$logo_attach_id)->value('path');
......
......@@ -30,8 +30,8 @@ class Index extends Home
* @author 路人甲乙
*/
protected function _initialize()
{
{
$this->error('站点已经关闭,请稍后访问~');
parent::_initialize();
//获取首页统计数据
$this->assign('statistics', $this->getStatistics());
......@@ -69,7 +69,7 @@ class Index extends Home
public function index()
{
if(self::ismobile()){
$http=empty($_SERVER['HTTP_X_CLIENT_PROTO']) ? 'http://' : $_SERVER['HTTP_X_CLIENT_PROTO'] . '://';
header('Location:'.$http.$_SERVER["HTTP_HOST"].'/wap/');
......
......@@ -25,6 +25,7 @@ class Index extends Home
{
public function __construct(Request $request = null)
{
$this->error('站点已经关闭,请稍后访问~');
parent::__construct($request);
// 配资金额范围
$this->assign("money_range", explode('|', config('money_range')));
......
......@@ -21,6 +21,7 @@
{
public function index()
{
$this->error('站点已经关闭,请稍后访问~');
$money=config('web_site_mock');
$this->assign('money', $money);
$this->assign('title', '模拟操盘-股票配资');
......
......@@ -21,7 +21,8 @@
{
public function index()
{
$this->assign('title', '免费体验-股票配资');
$this->error('站点已经关闭,请稍后访问~');
$this->assign('title', '免费体验-股票配资');
$mid = is_member_signin();
if(!$mid){
$mid=null;
......
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