| 1234567891011121314151617181920212223242526272829 | 
							- <?php
 
- namespace Cas\Controller;
 
- use Cas\Dao\WeixinArticles;
 
- use KIF\Core\Request;
 
- /**
 
-  * 获奖名单
 
-  */
 
- class Winners extends Controller {
 
- 	public function doDefault() {
 
- 		$objArticles = new WeixinArticles();
 
- 		# 检查用户UID
 
- 		$checkResult = self::checkLoginStatus(false, Request::url());
 
- 		if (!$checkResult->isSuccess()) {
 
- 			self::redirect($checkResult->getData());
 
- 		}
 
- 		$uid = self::getUid();
 
- 		$PageData = $objArticles->get(3);
 
- 		$this->tpl = 'winners';
 
- 		$this->setOutput('title', '获奖名单');
 
- 		$this->setOutput('PageData', $PageData);
 
- 		$this->setOutput('notShowWeixinShare', true);
 
- 	}
 
- 	
 
- 	
 
- 	public function display() {
 
- 		return $this->render();
 
- 	}
 
- }
 
 
  |