=', $start_unixtime); } if ($end_unixtime) { $end_unixtime=$end_unixtime+86399; $condition_arr[] = array('pl_addtime','<=', $end_unixtime); } $pl_desc = input('get.description'); if (!empty($pl_desc)) { $condition[] = array('pl_desc','like', '%' . $pl_desc . '%'); } //分页 //查询积分日志列表 $points_model = model('points'); $list_log = $points_model->getPointslogList($condition, '10', '*', ''); $member_points=model('member')->getMemberInfo(array('member_id'=>session('member_id')),'member_points'); /* 设置买家当前菜单 */ $this->setMemberCurMenu('member_points'); /* 设置买家当前栏目 */ $this->setMemberCurItem('points'); View::assign('show_page', $points_model->page_info->render()); View::assign('list_log', $list_log); View::assign('member_points', $member_points); return View::fetch($this->template_dir . 'index'); } /** * 用户中心右边,小导航 * * @param string $menu_type 导航类型 * @param string $menu_key 当前导航的menu_key * @param array $array 附加菜单 * @return */ protected function getMemberItemList() { $menu_array = array( array( 'name' => 'points', 'text' => lang('ds_member_path_points'), 'url' => url('Memberpoints/index') ), ); return $menu_array; } }