getRecommendTemplate(6); View::assign('recommend_voucher', $recommend_voucher); //平台代金券 $where = array(); $where[] = array('mallvouchertemplate_startdate', '<', TIMESTAMP); $where[] = array('mallvouchertemplate_enddate', '>', TIMESTAMP); $mallvoucherlist = model('mallvouchertemplate')->getMallvouchertemplateList($where, 6); View::assign('mallvoucherlist', $mallvoucherlist); } //开启积分兑换功能后查询推荐的热门兑换商品列表 if (config('ds_config.pointprod_isuse') == 1) { //热门积分兑换商品 $recommend_pointsprod = model('pointprod')->getRecommendPointProd(10); View::assign('recommend_pointsprod', $recommend_pointsprod); } //SEO $this->_assign_seo(model('seo')->type('point')->show()); //分类导航 $nav_link = array( 0 => array('title' => lang('homepage'), 'link' => HOME_SITE_URL), 1 => array('title' => lang('ds_pointprod')) ); View::assign('nav_link_list', $nav_link); return View::fetch($this->template_dir . 'pointprod'); } }