86 lines
1.6 KiB
PHP
86 lines
1.6 KiB
PHP
<?php
|
|
namespace app\admin\controller;
|
|
|
|
use app\admin\controller\Common;
|
|
|
|
/**
|
|
* VR票务后台管理控制器
|
|
* @author Sileya
|
|
*/
|
|
class Vrticket extends Common
|
|
{
|
|
/**
|
|
* 构造方法
|
|
*/
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
}
|
|
|
|
/**
|
|
* 座位模板列表
|
|
*/
|
|
public function SeatTemplateList()
|
|
{
|
|
return $this->render('seat_template/list');
|
|
}
|
|
|
|
/**
|
|
* 座位模板保存
|
|
*/
|
|
public function SeatTemplateSave()
|
|
{
|
|
return $this->render('seat_template/save');
|
|
}
|
|
|
|
/**
|
|
* 电子票列表
|
|
*/
|
|
public function TicketList()
|
|
{
|
|
return $this->render('ticket/list');
|
|
}
|
|
|
|
/**
|
|
* 电子票详情
|
|
*/
|
|
public function TicketDetail()
|
|
{
|
|
return $this->render('ticket/detail');
|
|
}
|
|
|
|
/**
|
|
* 核销员列表
|
|
*/
|
|
public function VerifierList()
|
|
{
|
|
return $this->render('verifier/list');
|
|
}
|
|
|
|
/**
|
|
* 核销员保存
|
|
*/
|
|
public function VerifierSave()
|
|
{
|
|
return $this->render('verifier/save');
|
|
}
|
|
|
|
/**
|
|
* 核销记录列表
|
|
*/
|
|
public function VerificationList()
|
|
{
|
|
return $this->render('verification/list');
|
|
}
|
|
|
|
/**
|
|
* 渲染插件视图
|
|
* @param string $template 模板路径(相对于 vr_ticket/admin/view/ 目录)
|
|
*/
|
|
protected function render($template)
|
|
{
|
|
// 插件视图路径(从 app/admin/view/default/plugins/view/vr_ticket/admin/view/ 开始)
|
|
return MyView('plugins/view/vr_ticket/admin/view/' . $template);
|
|
}
|
|
}
|