$events_id); return $this->totals($condtion); } /** * 获取当前活动 “码” 数据 已发中数 * @param int $events_id */ public function getEventsUseCodeDataNum($events_id){ $condtion = array('events_id' => $events_id ,'uid' => SqlHelper::addCompareOperator('!=', 0)); return $this->totals($condtion); } }