考试改成独立模块

This commit is contained in:
cxdbz committed 2018-11-25 12:54:06 +08:00
1 parent 313ebe4e58
commit 1f1601b121
17 files changed
+128 -24

No files matched your search

+1
View File
@@ -0,0 +1 @@
<?php
@@ -1,11 +1,11 @@
<?php
namespace app\teach\controller;
namespace app\kaoshi\controller;
// 引用控制器基类
use app\common\controller\Base;
// 引用学期数据模型类
use app\teach\model\Kaoshi as KS;
use app\kaoshi\model\Kaoshi as KS;
// 引用学生类
use app\renshi\model\Student;
// 引用成绩类
@@ -17,7 +17,7 @@ use PhpOffice\PhpSpreadsheet\Spreadsheet;
use \Endroid\QrCode\QrCode;
class Kaoshi extends Base
class Index extends Base
{
// 显示学期列表
public function index()
@@ -1,6 +1,6 @@
<?php
namespace app\teach\model;
namespace app\kaoshi\model;
// 引用数据模型基类
use app\common\model\Base;
Loaded 3 of 17 files, more files were not shown because too many files have changed in this diff. Show more