getQrcodeUrlToken()) { self::fail_exit('token有效性认证失败'); } $objLotteryEventsForms = new LotteryEventsForms(); $formData = $objLotteryEventsForms->get($formsId); $objLotteryEvents = new LotteryEvents(); $event = $objLotteryEvents->get($events_id); # 表单类型数据 $formType = array(); foreach ($event['forms'] as $tmpForms) { $formType[] = $tmpForms['name']; } $this->tpl = 'qrcode_invitation'; $this->setOutput('title', '用户信息'); $this->setOutput('formData', $formData); $this->setOutput('formType', $formType); $this->setOutput('notShowWeixinShare', true); } public function display() { return $this->render(); } }