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

持仓列表

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