Esempio n. 1
0
 /**
  * 签到
  * host/v1/checkin/checkin ?[withbonus=1]
  */
 public function checkinAction()
 {
     $ret = $this->book->doCheckIn($this->_request->get('with_bonus') - 0, $this->userOrAccountId);
     $this->_view->assign('code', $ret['code']);
     if (!empty($ret['msg'])) {
         $this->_view->assign('msg', $ret['msg']);
     }
     $this->_view->assign('checkinBook', $ret['data']);
 }