• This project
    • Loading...
  • Sign in

fe / YOHOBUYWAP · Files

Go to a project

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
  • YOHOBUYWAP
  • yohobuy
  • m.yohobuy.com
  • application
  • controllers
  • Index.php
  • do category brand page
    1fcff86d
    by hf
    2015-10-21 17:44:49 +0800  
    Browse Files
Index.php 468 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
<?php

use Action\AbstractAction;

/**
 * 频道选择
 */
class IndexController extends AbstractAction
{

    /**
     * 频道选择页
     */
    public function indexAction()
    {
        // 先检查COOKIE是否有访问过, 有则跳转到相应的频道页
        Index\HomeModel::goSwitchChannel();
        
        // 渲染模板
        $this->_view->display('index', array(
            'background' => Index\HomeModel::getBgImage()
        ));
    }

}