public function index() { parent::index($this->activityType); $count = M('Autumns_box')->where(array('token' => $this->token))->count(); $this->assign('count', $count); $this->display(); }
public function index() { parent::index($this->activityType); $this->display(); }