{{if empty($msg)}}{{:MyLang('no_data')}}{{else /}}{{$msg}}{{/if}}
-diff --git a/shopxo/app/admin/controller/Vrticket.php b/shopxo/app/admin/controller/Vrticket.php new file mode 100644 index 0000000..05063b6 --- /dev/null +++ b/shopxo/app/admin/controller/Vrticket.php @@ -0,0 +1,85 @@ +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); + } +} diff --git a/shopxo/app/admin/view/default/plugins/index.html b/shopxo/app/admin/view/default/plugins/index.html deleted file mode 100644 index 343e4d6..0000000 --- a/shopxo/app/admin/view/default/plugins/index.html +++ /dev/null @@ -1,20 +0,0 @@ -{{:ModuleInclude('public/header')}} - - -
{{if empty($msg)}}{{:MyLang('no_data')}}{{else /}}{{$msg}}{{/if}}
-