• This project
    • Loading...
  • Sign in

fe / YOHOBUYPC · Files

Go to a project

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 2
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
  • YOHOBUYPC
  • ..
  • controllers
  • Class.php
  • 更新搜索有关功能的逻辑,目前列表排序接口传参还存在问题,筛选传参也存在问题
    9a04c7ac
    by Rock Zhang
    2015-10-22 19:26:57 +0800  
    Browse Files
Class.php 464 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
<?php
use Action\AbstractAction;
use Category\ClassModel;

/**
 * 品类
 */
class ClassController extends AbstractAction
{
    public function indexAction()
    {
        $classes =  ClassModel::getClassData();

        $data = array(
            "searchUrl" => "",
            "class" => $classes
        );

        $this->_view->assign('title', 'YOHO!有货');
        $this->_view->display('index', array('categoryPage' => true, 'category' => $data));
    }
}