From 73c77ea761378b0b56fc323435d936c0e1ca9825 Mon Sep 17 00:00:00 2001 From: Anyon Date: Mon, 10 Jul 2017 16:08:15 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E4=BF=AE=E6=94=B9=E7=9C=81?= =?UTF-8?q?=E5=B8=82=E5=8C=BA=E6=8F=92=E4=BB=B6demo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/demo/controller/Plugs.php | 5 +++-- .../demo/view/{plugs.index.html => plugs.region.html} | 0 2 files changed, 3 insertions(+), 2 deletions(-) rename application/demo/view/{plugs.index.html => plugs.region.html} (100%) diff --git a/application/demo/controller/Plugs.php b/application/demo/controller/Plugs.php index a146fe2cc..bcb847aa1 100644 --- a/application/demo/controller/Plugs.php +++ b/application/demo/controller/Plugs.php @@ -26,9 +26,10 @@ use controller\BasicAdmin; class Plugs extends BasicAdmin { public $title = '插件案例'; - - public function index() + + public function region() { + $this->title = '省市区插件'; return view('', ['title' => $this->title]); } } diff --git a/application/demo/view/plugs.index.html b/application/demo/view/plugs.region.html similarity index 100% rename from application/demo/view/plugs.index.html rename to application/demo/view/plugs.region.html