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');