From 5f41723c79664bbe143ed9433fd775cf6bbfe007 Mon Sep 17 00:00:00 2001 From: cxdbz Date: Thu, 1 Nov 2018 20:14:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=80=83=E8=AF=95=E6=A0=87?= =?UTF-8?q?=E9=A2=98=E9=95=BF=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/controller/Error.php | 5 +---- application/teach/view/kaoshi/create.html | 2 +- application/teach/view/kaoshi/edit.html | 2 +- config/app.php | 2 +- route/login.php | 1 - 5 files changed, 4 insertions(+), 8 deletions(-) diff --git a/application/admin/controller/Error.php b/application/admin/controller/Error.php index 8e01031e..23d823e6 100644 --- a/application/admin/controller/Error.php +++ b/application/admin/controller/Error.php @@ -7,8 +7,5 @@ use app\common\controller\BaseError; class Error extends BaseError { - public function index() - { - return 'aa'; - } + } diff --git a/application/teach/view/kaoshi/create.html b/application/teach/view/kaoshi/create.html index c0745785..612bc8d9 100644 --- a/application/teach/view/kaoshi/create.html +++ b/application/teach/view/kaoshi/create.html @@ -86,7 +86,7 @@ var myrules = { title:{ required:true, - rangelength:[2,6] + rangelength:[2,25] }, xueqi:{ required:true, diff --git a/application/teach/view/kaoshi/edit.html b/application/teach/view/kaoshi/edit.html index 83395c20..f9ca216f 100644 --- a/application/teach/view/kaoshi/edit.html +++ b/application/teach/view/kaoshi/edit.html @@ -86,7 +86,7 @@ var myrules = { title:{ required:true, - rangelength:[2,6] + rangelength:[2,25] }, xueqi:{ required:true, diff --git a/config/app.php b/config/app.php index f8de33a5..574a1314 100644 --- a/config/app.php +++ b/config/app.php @@ -19,7 +19,7 @@ return [ // 应用地址 'app_host' => '', // 应用调试模式 - 'app_debug' => false, + 'app_debug' => true, // 应用Trace 'app_trace' => false, // 是否支持多模块 diff --git a/route/login.php b/route/login.php index de152d99..644d0429 100644 --- a/route/login.php +++ b/route/login.php @@ -13,4 +13,3 @@ // 找不到操作提示 Route::get('login','login/index/index'); Route::post('login','login/index/yanzheng'); -Route::get('firstlogin','login/index/first');