diff --git a/.gitignore b/.gitignore index 8e098ede..d465120e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ /.idea /.vscode +/vendor *.log .env \ No newline at end of file diff --git a/app/admin/controller/AuthGroup.php b/app/admin/controller/AuthGroup.php index e29584f2..6dc04301 100644 --- a/app/admin/controller/AuthGroup.php +++ b/app/admin/controller/AuthGroup.php @@ -3,12 +3,12 @@ namespace app\admin\controller; // 引用控制器基类 -use app\common\controller\Base; +use app\BaseController; // 引用角色数据模型类 use app\admin\model\AuthGroup as AG; -class AuthGroup extends Base +class AuthGroup extends BaseController { // 角色列表 public function index() diff --git a/app/admin/controller/AuthGroupAccess.php b/app/admin/controller/AuthGroupAccess.php index d55b50f9..73da3e4c 100644 --- a/app/admin/controller/AuthGroupAccess.php +++ b/app/admin/controller/AuthGroupAccess.php @@ -3,12 +3,12 @@ namespace app\admin\controller; // 引用控制器基类 -use app\common\controller\Base; +use app\BaseController; // 引用用户权限关联数据模型 use app\admin\model\AuthGroupAccess as AGA; -class AuthGroupAccess extends Base +class AuthGroupAccess extends BaseController { } diff --git a/app/admin/controller/AuthRule.php b/app/admin/controller/AuthRule.php index 2856444f..5bbd2a23 100644 --- a/app/admin/controller/AuthRule.php +++ b/app/admin/controller/AuthRule.php @@ -3,11 +3,11 @@ namespace app\admin\controller; // 引用控制器基类 -use app\common\controller\Base; +use app\BaseController; // 引用权限数据模型类 use app\admin\model\AuthRule as AR; -class AuthRule extends Base +class AuthRule extends BaseController { // 显示权限列表 public function index() diff --git a/app/admin/controller/Index.php b/app/admin/controller/Index.php index 58fc3d41..840302a0 100644 --- a/app/admin/controller/Index.php +++ b/app/admin/controller/Index.php @@ -3,13 +3,13 @@ namespace app\admin\controller; // 引用控制器基类 -use app\common\controller\Base; +use app\BaseController; // 引用用户数据模型 use app\admin\model\Admin as AD; // 引用加密类 use WhiteHat101\Crypt\APR1_MD5; -class Index extends Base +class Index extends BaseController { // 管理员列表 public function index() diff --git a/app/admin/route/admin.php b/app/admin/route/admin.php new file mode 100644 index 00000000..4160ae73 --- /dev/null +++ b/app/admin/route/admin.php @@ -0,0 +1,22 @@ + +// +---------------------------------------------------------------------- +use think\facade\Route; + + +//系统设置路由 +Route::resource('admin','admin/Index'); +Route::resource('authgroup','admin/AuthGroup'); +Route::resource('authrule','admin/AuthRule'); +Route::resource('authgroup','admin/AuthGroup'); +Route::post('resetpassword/:id','admin/Index/resetpassword'); +Route::get('editpassword/edit','admin/Index/editPassword'); +Route::put('editpassword/:id','admin/Index/updatePassword'); +Route::get('myinfo','admin/Index/myinfo'); \ No newline at end of file diff --git a/app/chengji/controller/Bjtongji.php b/app/chengji/controller/Bjtongji.php index 509e6dbb..599d8447 100644 --- a/app/chengji/controller/Bjtongji.php +++ b/app/chengji/controller/Bjtongji.php @@ -3,11 +3,11 @@ namespace app\chengji\controller; // 引用控制器基类 -use app\common\controller\Base; +use app\BaseController; // 引用成绩统计数据模型 use app\chengji\model\Bjtongji as BTJ; -class Bjtongji extends Base +class Bjtongji extends BaseController { // 年级成绩汇总 public function Biaoge($kaoshi) diff --git a/app/chengji/controller/Index.php b/app/chengji/controller/Index.php index b45f4185..34e920c2 100644 --- a/app/chengji/controller/Index.php +++ b/app/chengji/controller/Index.php @@ -2,7 +2,7 @@ namespace app\chengji\controller; // 引用控制器基类 -use app\common\controller\Base; +use app\BaseController; // 引用成绩数据模型 use app\chengji\model\Chengji; // 引用考号数据模型 @@ -11,7 +11,7 @@ use \app\kaoshi\model\Kaohao; use \app\teach\model\Subject; -class Index extends Base +class Index extends BaseController { // 使用二维码录入成绩 public function malu() diff --git a/app/chengji/controller/Njtongji.php b/app/chengji/controller/Njtongji.php index bd548272..1ac58c95 100644 --- a/app/chengji/controller/Njtongji.php +++ b/app/chengji/controller/Njtongji.php @@ -3,11 +3,11 @@ namespace app\chengji\controller; // 引用控制器基类 -use app\common\controller\Base; +use app\BaseController; // 引用成绩统计数据模型 use app\chengji\model\Njtongji as NTJ; -class Njtongji extends Base +class Njtongji extends BaseController { // 获取各学校、各年级考试成绩 public function Biaoge($kaoshi) diff --git a/app/chengji/controller/Tongji.php b/app/chengji/controller/Tongji.php index 0d3af2db..981fd597 100644 --- a/app/chengji/controller/Tongji.php +++ b/app/chengji/controller/Tongji.php @@ -3,11 +3,11 @@ namespace app\chengji\controller; // 引用控制器基类 -use app\common\controller\Base; +use app\BaseController; // 引用成绩统计数据模型 use app\chengji\model\Tongji as TJ; -class Tongji extends Base +class Tongji extends BaseController { // 统计已经录入成绩数量 diff --git a/app/chengji/route/chengji.php b/app/chengji/route/chengji.php new file mode 100644 index 00000000..e42d22d9 --- /dev/null +++ b/app/chengji/route/chengji.php @@ -0,0 +1,66 @@ + +// +---------------------------------------------------------------------- +use think\facade\Route; + + +//系统设置路由 +Route::resource('chengji','Chengji/Index'); + + +// 扫码录入成绩 +Route::get('chengji/malu','chengji/Index/malu'); +Route::put('chengji/malu','chengji/Index/malusave'); +Route::post('chengji/read','chengji/Index/read'); +// 表格录入成绩 +Route::get('chengji/biaolu','chengji/Index/biaolu'); +Route::post('chengji/biaolu','chengji/Index/saveAll'); +// 已录成绩统计 +Route::get('cjtongji/:kaoshi/yilucnt','chengji/Tongji/yiluCnt'); # 年级成绩统计列表 + + +// 获取学生成绩列表 +Route::get('chengji/:kaoshi/stuChengjilist','chengji/Index/index'); +// Route::delete('chengji/:kaoshi/cj','chengji/Index/delete'); # 删除考试成绩 +Route::get('readcjadd/:kaohao','chengji/Index/readAdd'); # 查看录入成绩人信息 +// 下载学生成绩 +Route::get('chengji/:kaoshi/dwChengji','chengji/Index/dwChengji'); +Route::post('chengji/dwChengji','chengji/Index/dwchengjixls'); +// 批量删除学生成绩 +Route::get('deletecjs/:kaoshi','chengji/Index/deletecjs'); +Route::post('deletecjmore','chengji/Index/deletecjmore'); + + + +// 班级成绩统计表格 +Route::get('bjtongji/:kaoshi/biaoge','chengji/Bjtongji/Biaoge'); # 班级成绩统计列表 +// 下载班级成绩统计表格 +Route::get('bjtongji/:kaoshi/dwBanji','chengji/Bjtongji/dwBanji'); +Route::post('bjtongji/dwBanji','chengji/Bjtongji/dwBanjixls'); + + + +// 年级成绩统计表格 +Route::get('njtongji/:kaoshi/biaoge','chengji/Njtongji/Biaoge'); # 年级成绩统计列表 +// 下载年级成绩统计表格 +Route::get('njtongji/:kaoshi/dwNianji','chengji/Njtongji/dwNianji'); +Route::post('njtongji/dwNanji','chengji/Njtongji/dwNianjixls'); + + + + + + + + + + + + diff --git a/app/home/controller/Error.php b/app/home/controller/Error.php deleted file mode 100644 index 132697e4..00000000 --- a/app/home/controller/Error.php +++ /dev/null @@ -1,11 +0,0 @@ -error('不好意思,您访问的页面不存在~'); - } -} diff --git a/app/kaoshi/controller/Index.php b/app/kaoshi/controller/Index.php index b9a871d9..e958cf78 100644 --- a/app/kaoshi/controller/Index.php +++ b/app/kaoshi/controller/Index.php @@ -3,13 +3,13 @@ namespace app\kaoshi\controller; // 引用控制器基类 -use app\common\controller\Base; +use app\BaseController; // 引用考试数据模型类 use app\kaoshi\model\Kaoshi as KS; -class Index extends Base +class Index extends BaseController { // 显示考试列表 public function index() diff --git a/app/kaoshi/controller/Kaohao.php b/app/kaoshi/controller/Kaohao.php index 070a8ec1..5742b528 100644 --- a/app/kaoshi/controller/Kaohao.php +++ b/app/kaoshi/controller/Kaohao.php @@ -3,7 +3,7 @@ namespace app\kaoshi\controller; // 引用控制器基类 -use app\common\controller\Base; +use app\BaseController; // 引用考试数据模型类 use app\kaoshi\model\Kaoshi as KS; // 引用考号数据模型类 @@ -18,7 +18,7 @@ use \Endroid\QrCode\QrCode; use think\Validate; -class Kaohao extends Base +class Kaohao extends BaseController { // 生成考号 public function index($kaoshi) diff --git a/app/kaoshi/route/kaoshi.php b/app/kaoshi/route/kaoshi.php new file mode 100644 index 00000000..603aff94 --- /dev/null +++ b/app/kaoshi/route/kaoshi.php @@ -0,0 +1,33 @@ + +// +---------------------------------------------------------------------- +use think\facade\Route; + + +//系统设置路由 +Route::resource('kaoshi','kaoshi/Index'); +Route::resource('kaohao','kaoshi/Kaohao'); +// 考试更多操作 +Route::get('kaoshi/:kaoshi/more','kaoshi/Index/moreAction'); +// 考试设置保存 +Route::get('kaoshiset/:id','kaoshi/Index/kaoshiset'); +Route::put('kaoshiset/:id','kaoshi/Index/updateset'); +// 考号保存 +Route::get('kaoshi/:kaoshi/kaohao','kaoshi/Kaohao/index'); +Route::post('kaoshi/kaohao','kaoshi/Kaohao/save'); +// 下载成绩采集表 +Route::get('kaoshi/:kaoshi/caiji','kaoshi/Kaohao/caiji'); +Route::post('kaoshi/caiji','kaoshi/Kaohao/dwcaiji'); +// 下载试卷标签 +Route::get('kaoshi/:kaoshi/biaoqian','kaoshi/Kaohao/biaoqian'); +Route::post('kaoshi/:kaoshi/biaoqianXls','kaoshi/Kaohao/biaoqianXls'); + + + diff --git a/app/keti/controller/Index.php b/app/keti/controller/Index.php index a8d08813..b786d8da 100644 --- a/app/keti/controller/Index.php +++ b/app/keti/controller/Index.php @@ -3,12 +3,12 @@ namespace app\keti\controller; // 引用控制器基类 -use app\common\controller\Base; +use app\BaseController; // 引用课题数据模型 use app\keti\model\Keti as keti; -class Index extends Base +class Index extends BaseController { /** * 显示资源列表 diff --git a/app/keti/controller/KetiInfo.php b/app/keti/controller/KetiInfo.php index af77eb7d..ca28a8c1 100644 --- a/app/keti/controller/KetiInfo.php +++ b/app/keti/controller/KetiInfo.php @@ -3,12 +3,12 @@ namespace app\keti\controller; // 引用控制器基类 -use app\common\controller\Base; +use app\BaseController; // 引用课题信息数据模型类 use app\keti\model\KetiInfo as ktinfo; -class KetiInfo extends Base +class KetiInfo extends BaseController { /** * 显示资源列表 diff --git a/app/keti/route/keti.php b/app/keti/route/keti.php new file mode 100644 index 00000000..6f168b43 --- /dev/null +++ b/app/keti/route/keti.php @@ -0,0 +1,33 @@ + +// +---------------------------------------------------------------------- +use think\facade\Route; + + +//系统设置路由 +Route::resource('kt','keti/Index'); +Route::resource('ktinfo','keti/KetiInfo'); + +// 课题册中课题列表 +Route::get('ktlist/:ketice','keti/KetiInfo/ketilist'); +Route::get('ktout/:ketice','keti/KetiInfo/outXlsx'); +// 结题编辑 +Route::get('ktjt/:id/edit','keti/KetiInfo/jieTi'); +Route::put('ktjt/:id','keti/KetiInfo/jtUpdate'); +// 添加立项信息 +Route::get('ktinfoadd/:ketice','keti/KetiInfo/create'); +// 批量添加立项图片 +Route::get('ktinfoaddall/:ketice','keti/KetiInfo/createAll'); +Route::post('ktinfoaddall/:ketice','keti/KetiInfo/saveall'); + + + + + diff --git a/app/renshi/controller/Index.php b/app/renshi/controller/Index.php index d2c286c5..c6132caf 100644 --- a/app/renshi/controller/Index.php +++ b/app/renshi/controller/Index.php @@ -3,12 +3,12 @@ namespace app\renshi\controller; // 引用控制器基类 -use app\common\controller\Base; +use app\BaseController; // 引用教师数据模型类 use app\renshi\model\Teacher; -class Index extends Base +class Index extends BaseController { // 显示教师列表 public function index() diff --git a/app/renshi/controller/Student.php b/app/renshi/controller/Student.php index 74b6ef7c..8d02b60b 100644 --- a/app/renshi/controller/Student.php +++ b/app/renshi/controller/Student.php @@ -3,13 +3,13 @@ namespace app\renshi\controller; // 引用控制器基类 -use app\common\controller\Base; +use app\BaseController; // 引用学生数据模型类 use app\renshi\model\Student as STU; // 引用phpspreadsheet类 use app\renshi\controller\Myexcel; -class Student extends Base +class Student extends BaseController { // 显示学生列表 public function index() diff --git a/app/renshi/route/renshi.php b/app/renshi/route/renshi.php new file mode 100644 index 00000000..5b527089 --- /dev/null +++ b/app/renshi/route/renshi.php @@ -0,0 +1,31 @@ + +// +---------------------------------------------------------------------- +use think\facade\Route; + + +//系统设置路由 +Route::resource('teacher','renshi/Index'); +Route::get('teacher/createall','renshi/Index/createAll'); // 定义GET请求路由规则 +Route::post('teacher/createall','renshi/Index/saveAll'); // 定义POST请求路由规则 +Route::post('srcteacher','renshi/Index/srcTeacher'); // 定义POST请求路由规则 +Route::post('srcry/:teacherid','renshi/Index/srcRy'); // 定义POST请求路由规则 +Route::post('srckt/:teacherid','renshi/Index/srcKt'); // 定义POST请求路由规则 + + + +Route::resource('student','renshi/Student'); +Route::get('student/createall','renshi/Student/createAll'); // 定义GET请求路由规则 +Route::post('student/createall','renshi/Student/saveAll'); // 定义POST请求路由规则 + +Route::get('student/jiaodui','renshi/Student/jiaodui'); // 定义GET请求路由规则 +Route::post('student/jiaodui','renshi/Student/JiaoduiDel'); // 定义POST请求路由规则 + +// Route::post('student/download','renshi/Student/download'); // 定义POST请求路由规则 diff --git a/app/rongyu/controller/DwRongyu.php b/app/rongyu/controller/DwRongyu.php index 29250be2..30550a67 100644 --- a/app/rongyu/controller/DwRongyu.php +++ b/app/rongyu/controller/DwRongyu.php @@ -3,11 +3,11 @@ namespace app\rongyu\controller; // 引用控制器基类 -use app\common\controller\Base; +use app\BaseController; // 引用教师数据模型类 use app\rongyu\model\DwRongyu as dwry; -class DwRongyu extends Base +class DwRongyu extends BaseController { /** * 显示单位荣誉列表 diff --git a/app/rongyu/controller/JsRongyu.php b/app/rongyu/controller/JsRongyu.php index a9a08e50..bbdb7994 100644 --- a/app/rongyu/controller/JsRongyu.php +++ b/app/rongyu/controller/JsRongyu.php @@ -3,13 +3,13 @@ namespace app\rongyu\controller; // 引用控制器基类 -use app\common\controller\Base; +use app\BaseController; // 引用教师数据模型类 use app\rongyu\model\JsRongyu as jsry; // 引用教师数据模型类 use app\rongyu\model\JsRongyuInfo as jsryinfo; -class JsRongyu extends Base +class JsRongyu extends BaseController { /** * 显示教师荣誉册列表 diff --git a/app/rongyu/controller/JsRongyuInfo.php b/app/rongyu/controller/JsRongyuInfo.php index 0efff6c1..9af0d050 100644 --- a/app/rongyu/controller/JsRongyuInfo.php +++ b/app/rongyu/controller/JsRongyuInfo.php @@ -3,7 +3,7 @@ namespace app\rongyu\controller; // 引用控制器基类 -use app\common\controller\Base; +use app\BaseController; // 引用教师数据模型类 use app\rongyu\model\JsRongyuInfo as ryinfo; @@ -13,7 +13,7 @@ use PhpOffice\PhpSpreadsheet\Writer\Xlsx; use PhpOffice\PhpSpreadsheet\IOFactory; -class JsRongyuInfo extends Base +class JsRongyuInfo extends BaseController { /** * 显示教师荣誉册列表 diff --git a/app/rongyu/route/rongyu.php b/app/rongyu/route/rongyu.php new file mode 100644 index 00000000..7863a09a --- /dev/null +++ b/app/rongyu/route/rongyu.php @@ -0,0 +1,26 @@ + +// +---------------------------------------------------------------------- +use think\facade\Route; + + +//系统设置路由 +Route::resource('dwry','rongyu/DwRongyu'); +Route::resource('jsry','rongyu/JsRongyu'); +Route::resource('jsryinfo','rongyu/JsRongyuInfo'); +Route::get('dwry/createall','rongyu/DwRongyu/createAll'); +Route::post('dwry/createall','rongyu/DwRongyu/saveall'); +// 荣誉册中荣誉信息列表 +Route::get('rylist/:rongyuce','rongyu/JsRongyuInfo/rongyuList'); +Route::get('ryout/:rongyuce','rongyu/JsRongyuInfo/outXlsx'); + +Route::get('jsryinfoadd/:rongyuce','rongyu/JsRongyuInfo/create'); +Route::get('jsryinfoaddall/:rongyuce','rongyu/JsRongyuInfo/createAll'); +Route::post('jsryinfoaddall/:rongyuce','rongyu/JsRongyuInfo/saveall'); \ No newline at end of file diff --git a/app/system/controller/Category.php b/app/system/controller/Category.php index 005a1417..ba70568c 100644 --- a/app/system/controller/Category.php +++ b/app/system/controller/Category.php @@ -3,11 +3,11 @@ namespace app\system\controller; // 引用控制器基类 -use app\common\controller\Base; +use app\BaseController; // 引用类别数据模型类 use app\system\model\Category as CG; -class Category extends Base +class Category extends BaseController { diff --git a/app/system/controller/Encrypt.php b/app/system/controller/Encrypt.php index 0c432227..a99cb9be 100644 --- a/app/system/controller/Encrypt.php +++ b/app/system/controller/Encrypt.php @@ -3,9 +3,9 @@ namespace app\system\controller; // 引用控制器基类 -use app\common\controller\Base; +use app\BaseController; -class Encrypt extends Base +class Encrypt extends BaseController { // 类别列表 public function encrypt($data, $key) diff --git a/app/system/controller/Fields.php b/app/system/controller/Fields.php index f6de1a26..9ca8bdce 100644 --- a/app/system/controller/Fields.php +++ b/app/system/controller/Fields.php @@ -3,11 +3,11 @@ namespace app\system\controller; // 引用控制器基类 -use app\common\controller\Base; +use app\BaseController; // 引用单位数据模型类 use app\system\model\Fields as FL; -class Fields extends Base +class Fields extends BaseController { /** * 显示资源列表 diff --git a/app/system/controller/School.php b/app/system/controller/School.php index 1b3827cb..c99e4685 100644 --- a/app/system/controller/School.php +++ b/app/system/controller/School.php @@ -3,11 +3,11 @@ namespace app\system\controller; // 引用控制器基类 -use app\common\controller\Base; +use app\BaseController; // 引用单位数据模型类 use app\system\model\School as sch; -class School extends Base +class School extends BaseController { // 单位列表 public function index() diff --git a/app/system/controller/SystemBase.php b/app/system/controller/SystemBase.php index 6cc81991..825d6327 100644 --- a/app/system/controller/SystemBase.php +++ b/app/system/controller/SystemBase.php @@ -3,12 +3,12 @@ namespace app\system\controller; // 引用控制器基类 -use app\common\controller\Base; +use app\BaseController; // 引用与此控制器同名的数据模型 use app\system\model\SystemBase as sysbasemod; -class SystemBase extends Base +class SystemBase extends BaseController { // 系统设置 public function edit() diff --git a/app/system/route/system.php b/app/system/route/system.php new file mode 100644 index 00000000..d9ec8d0e --- /dev/null +++ b/app/system/route/system.php @@ -0,0 +1,18 @@ + +// +---------------------------------------------------------------------- +use think\facade\Route; + + +//系统设置路由 +Route::resource('sysbase','system/SystemBase'); +Route::resource('category','system/Category'); +Route::resource('school','system/School'); +Route::resource('fields','system/Fields'); diff --git a/app/teach/controller/Banji.php b/app/teach/controller/Banji.php index e6f0590f..a66357a9 100644 --- a/app/teach/controller/Banji.php +++ b/app/teach/controller/Banji.php @@ -3,11 +3,11 @@ namespace app\teach\controller; // 引用控制器基类 -use app\common\controller\Base; +use app\BaseController; // 引用班级数据模型类 use app\teach\model\Banji as BJ; -class Banji extends Base +class Banji extends BaseController { // 显示班级列表 public function index() diff --git a/app/teach/controller/Subject.php b/app/teach/controller/Subject.php index ba408d8c..50a885f4 100644 --- a/app/teach/controller/Subject.php +++ b/app/teach/controller/Subject.php @@ -3,11 +3,11 @@ namespace app\teach\controller; // 引用控制器基类 -use app\common\controller\Base; +use app\BaseController; // 引用学期数据模型类 use app\teach\model\Subject as SJ; -class Subject extends Base +class Subject extends BaseController { // 显示学期列表 public function index() diff --git a/app/teach/controller/Xueqi.php b/app/teach/controller/Xueqi.php index f66ce439..c0265f87 100644 --- a/app/teach/controller/Xueqi.php +++ b/app/teach/controller/Xueqi.php @@ -3,11 +3,11 @@ namespace app\teach\controller; // 引用控制器基类 -use app\common\controller\Base; +use app\BaseController; // 引用学期数据模型类 use app\teach\model\Xueqi as XQ; -class Xueqi extends Base +class Xueqi extends BaseController { // 显示学期列表 public function index() diff --git a/app/teach/route/teach.php b/app/teach/route/teach.php new file mode 100644 index 00000000..6ea872eb --- /dev/null +++ b/app/teach/route/teach.php @@ -0,0 +1,29 @@ + +// +---------------------------------------------------------------------- +use think\facade\Route; + + +//系统设置路由 +Route::resource('xueqi','teach/Xueqi'); +Route::resource('kaoshi','teach/Kaoshi'); +Route::resource('subject','teach/Subject'); +Route::resource('banji','teach/Banji'); +Route::post('banji/:id/yidong','teach/Banji/yidong'); // 定义班级移动post规则 +Route::post('banji/njbanji','teach/Banji/mybanji'); // 定义GET请求路由规则 +Route::post('banji/schbanji','teach/Banji/banjilist'); // 定义GET请求路由规则 +Route::get('kaoshi/:id/kaohao','teach/Kaoshi/kaohao'); +Route::post('kaoshi/kaohao','teach/Kaoshi/kaohaosave'); +Route::get('kaoshi/:id/biaoqian','teach/Kaoshi/biaoqian'); +Route::get('kaoshi/:id/caiji','teach/Kaoshi/caiji'); +Route::post('kaoshi/caiji','teach/Kaoshi/cankaomingdan'); + + + diff --git a/composer.json b/composer.json index 62386b51..e4784eea 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "topthink/think-captcha": "^3.0", "whitehat101/apr1-md5": "^1.0", "liliuwei/thinkphp-jump": "^1.3", - "liliuwei/thinkphp-auth": "^1.0" + "liliuwei/thinkphp-auth": "2.0.*" }, "require-dev": { "symfony/var-dumper": "^4.2", diff --git a/composer.lock b/composer.lock index ccca61c3..762f0c4b 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "d15adfd9d274710f1470356968422175", + "content-hash": "4dad7fdd425faa332e65cf96ce41ea02", "packages": [ { "name": "league/flysystem", @@ -151,16 +151,16 @@ }, { "name": "liliuwei/thinkphp-auth", - "version": "v1.0.0", + "version": "v2.0.0", "source": { "type": "git", "url": "https://github.com/liliuwei/thinkphp-auth.git", - "reference": "b24138c726ba726859023c9336399a1a82493001" + "reference": "09e18238b1bf65fe654ae75a0a4720accd4cf0b8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/liliuwei/thinkphp-auth/zipball/b24138c726ba726859023c9336399a1a82493001", - "reference": "b24138c726ba726859023c9336399a1a82493001", + "url": "https://api.github.com/repos/liliuwei/thinkphp-auth/zipball/09e18238b1bf65fe654ae75a0a4720accd4cf0b8", + "reference": "09e18238b1bf65fe654ae75a0a4720accd4cf0b8", "shasum": "", "mirrors": [ { @@ -170,15 +170,11 @@ ] }, "require": { - "php": "^5.6 || ^7.1", - "topthink/framework": "^5.1 || ^6.0", - "topthink/think-installer": "^2.0" + "php": "^7.1", + "topthink/framework": "^6.0" }, "type": "think-extend", "extra": { - "think-config": { - "auth": "src/config/auth.php" - }, "think": { "config": { "auth": "src/config/auth.php" @@ -207,7 +203,7 @@ "thinkphp5.1", "thinkphp6.0" ], - "time": "2019-10-07T01:39:32+00:00" + "time": "2019-12-04T04:49:15+00:00" }, { "name": "liliuwei/thinkphp-jump", @@ -717,53 +713,6 @@ "description": "The ThinkPHP6 Helper Package", "time": "2019-09-30T02:36:48+00:00" }, - { - "name": "topthink/think-installer", - "version": "v2.0.0", - "source": { - "type": "git", - "url": "https://github.com/top-think/think-installer.git", - "reference": "f5400a12c60e513911aef41fe443fa6920952675" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/top-think/think-installer/zipball/f5400a12c60e513911aef41fe443fa6920952675", - "reference": "f5400a12c60e513911aef41fe443fa6920952675", - "shasum": "", - "mirrors": [ - { - "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", - "preferred": true - } - ] - }, - "require": { - "composer-plugin-api": "^1.0" - }, - "require-dev": { - "composer/composer": "1.0.*@dev" - }, - "type": "composer-plugin", - "extra": { - "class": "think\\composer\\Plugin" - }, - "autoload": { - "psr-4": { - "think\\composer\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "yunwuxin", - "email": "448901948@qq.com" - } - ], - "time": "2018-05-11T06:45:42+00:00" - }, { "name": "topthink/think-multi-app", "version": "v1.0.11", diff --git a/config/app.php b/config/app.php index b4008253..39465593 100644 --- a/config/app.php +++ b/config/app.php @@ -37,7 +37,7 @@ return [ 'show_error_msg' => true, // 版本号 'chengji' => [ - 'version' => '1.5', + 'version' => '1.3', ], ];