From a282d5d779ee414e95fbec5bd5ecc8501a979b27 Mon Sep 17 00:00:00 2001 From: PPPSCN <35696959@qq.com> Date: Fri, 6 Apr 2018 23:45:22 +0800 Subject: [PATCH] =?UTF-8?q?crud=E9=BB=98=E8=AE=A4=E7=A6=81=E7=94=A8?= =?UTF-8?q?=E5=AF=BC=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/command/Crud/stubs/controller.stub | 2 ++ application/admin/command/Crud/stubs/index.stub | 2 +- application/admin/command/Crud/stubs/javascript.stub | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/application/admin/command/Crud/stubs/controller.stub b/application/admin/command/Crud/stubs/controller.stub index d4e70604..ee83f115 100644 --- a/application/admin/command/Crud/stubs/controller.stub +++ b/application/admin/command/Crud/stubs/controller.stub @@ -33,10 +33,12 @@ class {%controllerName%} extends Backend /** * 导入 */ + /* public function import() { return parent::import(); } + */ {%controllerIndex%} } diff --git a/application/admin/command/Crud/stubs/index.stub b/application/admin/command/Crud/stubs/index.stub index b06eaae8..3c80ea8f 100644 --- a/application/admin/command/Crud/stubs/index.stub +++ b/application/admin/command/Crud/stubs/index.stub @@ -10,7 +10,7 @@ {:__('Add')} {:__('Edit')} {:__('Delete')} - {:__('Import')} +