diff --git a/app/kaohao/controller/Index.php b/app/kaohao/controller/Index.php index 2561ba17..a9b349bf 100755 --- a/app/kaohao/controller/Index.php +++ b/app/kaohao/controller/Index.php @@ -2,7 +2,7 @@ namespace app\kaohao\controller; // 引用控制器基类 -use app\base\controller\ToolBase; +use app\base\controller\AdminBase; // 引用数据模型类 use app\kaoshi\model\Kaoshi as KS; @@ -11,7 +11,7 @@ use app\kaohao\model\Kaohao as KH; use think\Validate; -class Index extends ToolBase +class Index extends AdminBase { // 生成考号 public function createAll($kaoshi_id) diff --git a/app/kaoshi/view/index/create_setp2.html b/app/kaoshi/view/index/create_setp2.html index 09d87c6a..05808d34 100644 --- a/app/kaoshi/view/index/create_setp2.html +++ b/app/kaoshi/view/index/create_setp2.html @@ -136,7 +136,7 @@ }); - //监听提交 + //监听提交 form.on('submit(kssubmit)', function(data){ $.ajax({ url:"{$list.set.url}", diff --git a/app/kaoshi/view/index/create_setp3.html b/app/kaoshi/view/index/create_setp3.html index d4a222c6..d505463a 100644 --- a/app/kaoshi/view/index/create_setp3.html +++ b/app/kaoshi/view/index/create_setp3.html @@ -58,7 +58,7 @@