コード例 #1
0
 public function actionExportSmsDetail($id)
 {
     if (empty($id)) {
         throw new BadRequestHttpException("param is missing.");
     }
     $drawRecord = LuckyDrawRecord::findByPk(new \MongoId($id));
     $accountId = $this->getAccountId();
     $result = BulkSmsUtil::createExportSmsRecordJob($drawRecord->remark['smsRecordId'], $accountId, 'CNY中獎者簡訊記錄');
     return $result;
 }