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