예제 #1
0
파일: lot.php 프로젝트: wxl2012/wx
 /**
  * 推荐、精选
  */
 public function action_recommend()
 {
     $params = ['title' => '精选拍品'];
     $params['items'] = \Model_Lot::query()->get();
     \View::set_global($params);
     $this->template->content = \View::forge("{$this->theme}/lot/index");
 }
예제 #2
0
파일: lot.php 프로젝트: wxl2012/wx
 /**
  * 投票列表
  */
 public function action_index()
 {
     $params = array('title' => '拍品管理', 'menu' => 'lot-index', 'action_name' => '拍品列表——拍品管理');
     $params['items'] = \Model_Lot::query()->where(['account_id' => \Session::get('WXAccount')->id])->get();
     \View::set_global($params);
     $this->template->content = \View::forge("{$this->theme}/auction/index");
 }