Esempio n. 1
0
 /**
  * 登入用户当天签到情况
  * host/v1/checkin/today ?[withbonus=1]
  */
 public function todayAction()
 {
     $this->_view->assign('checkinBook', $this->book->doGetTodayStatus($this->_request->get('with_bonus') - 0, $this->userOrAccountId)['data']);
     //		if($this->_request->get('withShoppoints')-0){
     //			$shopPoints = new \Lib\Items\ShopPoint($this->user->getIdentifier());
     //			$this->_view->assign('shopPoints',array('nLeft'=>$shopPoints->nLeft()));
     //		}
 }