=', $add_time_from); } if ((input('param.add_time_to')) != '') { $add_time_to = strtotime((input('param.add_time_to')))+86399; $condition[] = array('storecost_time', '<=', $add_time_to); } $cost_list = $storecost_model->getStorecostList($condition, 10, 'storecost_id desc'); View::assign('cost_list', $cost_list); View::assign('show_page', $storecost_model->page_info->render()); /* 设置卖家当前菜单 */ $this->setSellerCurMenu('sellercost'); /* 设置卖家当前栏目 */ $this->setSellerCurItem('cost_list'); return View::fetch($this->template_dir.'cost_list'); } /** * 用户中心右边,小导航 * * @param string $menu_type 导航类型 * @param string $menu_key 当前导航的menu_key * @param array $array 附加菜单 * @return */ protected function getSellerItemList() { $menu_array = array( array( 'name' => 'cost_list', 'text' => lang('cost_list'), 'url' => (string)url('Sellercost/cost_list') ), ); return $menu_array; } }