增加教师、学生密码初始化
This commit is contained in:
1 parent
c789909aea
commit
9bc6bb01a4
12 files changed
+104
-35
No files matched your search
@@ -47,7 +47,7 @@ class Teacher extends Migrator
|
||||
->addColumn('quanpin','string',['limit'=>30,'default'=>'a','null'=>false,'comment'=>'全拼'])
|
||||
->addColumn('shoupin','string',['limit'=>5,'default'=>'a','null'=>false,'comment'=>'简拼'])
|
||||
->addColumn('tuixiu','boolean',['limit'=>1,'default'=>0,'null'=>false,'comment'=>'是否已经退休'])
|
||||
->addColumn('phone','string',['limit'=>11,'null'=>true,'comment'=>'手机号'])
|
||||
->addColumn('phone','string',['limit'=>11,'default'=>0,'null'=>false,'comment'=>'手机号'])
|
||||
->addColumn('status','boolean',['limit'=>1,'default'=>true,'null'=>false,'comment'=>'状态'])
|
||||
->addColumn('password','string',['limit'=>137,'null'=>false,'default'=>'$apr1$RSUodBwI$zOhVq9RQWfQDOW2sbeCDS1','comment'=>'登录密码'])
|
||||
->addColumn('denglucishu','integer',['limit'=>5,'default'=>0,'null'=>false,'comment'=>'登录次数'])
|
||||
|
||||
+23
-11
@@ -29,55 +29,55 @@ class Rule extends Seeder
|
||||
],
|
||||
['id' => 101
|
||||
,'title' => '扫码录入'
|
||||
,'name' => 'chengji/luru/malu'
|
||||
,'name' => 'luru/index/malu'
|
||||
,'paixu' => 1
|
||||
,'ismenu' => 1
|
||||
,'pid' => 1
|
||||
,'url' => '/chengji/luru/malu'
|
||||
,'url' => '/luru/index/malu'
|
||||
],
|
||||
['id' => 10101
|
||||
,'title' => '扫码查询'
|
||||
,'name' => 'chengji/Luru/read'
|
||||
,'name' => '/luru/index/read'
|
||||
,'paixu' => 1
|
||||
,'pid' => 101
|
||||
]
|
||||
,['id' => 10102
|
||||
,'title' => '扫码保存'
|
||||
,'name' => 'chengji/luru/malusave'
|
||||
,'name' => '/luru/index/malusave'
|
||||
,'paixu' => 2
|
||||
,'pid' => 101
|
||||
],
|
||||
['id' => 102
|
||||
,'title' => '表格录入'
|
||||
,'name' => 'chengji/luru/biaolu'
|
||||
,'name' => '/luru/index/biaolu'
|
||||
,'paixu' => 2
|
||||
,'ismenu' => 1
|
||||
,'pid' => 1
|
||||
,'url' => '/chengji/luru/biaolu'
|
||||
,'url' => '/luru/index/biaolu'
|
||||
],
|
||||
['id' => 10201
|
||||
,'title' => '表格保存'
|
||||
,'name' => 'chengji/luru/saveall'
|
||||
,'name' => '/luru/index/saveall'
|
||||
,'paixu' => 1
|
||||
,'pid' => 102
|
||||
],
|
||||
['id' => 10202
|
||||
,'title' => '表格上传'
|
||||
,'name' => 'chengji/luru/upload'
|
||||
,'name' => '/luru/index/upload'
|
||||
,'paixu' => 2
|
||||
,'pid' => 102
|
||||
],
|
||||
['id' => 103
|
||||
,'title' => '已录列表'
|
||||
,'name' => 'chengji/luru/index'
|
||||
,'name' => '/luru/index/index'
|
||||
,'paixu' => 2
|
||||
,'ismenu' => 1
|
||||
,'pid' => 1
|
||||
,'url' => '/chengji/luru/index'
|
||||
,'url' => '/luru/index/index'
|
||||
],
|
||||
['id' => 10301
|
||||
,'title' => '成绩更新'
|
||||
,'name' => 'chengji/luru/update'
|
||||
,'name' => '/luru/index/update'
|
||||
,'paixu' => 1
|
||||
,'pid' => 103
|
||||
],
|
||||
@@ -607,6 +607,12 @@ class Rule extends Seeder
|
||||
,'name' => 'student/chengji/index'
|
||||
,'paixu' => 14
|
||||
,'pid' => 401
|
||||
],
|
||||
['id' => 40115
|
||||
,'title' => '重置密码'
|
||||
,'name' => 'student/index/resetpassword'
|
||||
,'paixu' => 15
|
||||
,'pid' => 401
|
||||
],
|
||||
// 师生名单
|
||||
['id' => 402
|
||||
@@ -1599,6 +1605,12 @@ class Rule extends Seeder
|
||||
,'paixu' => 11
|
||||
,'pid' => 1001
|
||||
],
|
||||
['id' => 100112
|
||||
,'title' => '重置密码'
|
||||
,'name' => 'teacher/index/resetpassword'
|
||||
,'paixu' => 7
|
||||
,'pid' => 1001
|
||||
],
|
||||
['id' => 1002
|
||||
,'title' => '删除教师'
|
||||
,'name' => 'teacher/index/dellist'
|
||||
|
||||
@@ -22,7 +22,7 @@ class SystemBase extends Seeder
|
||||
'description' => '前端采用X-admin,后端采用Thinkphp。寻找最方便的录入成绩方法,提供最丰富的统计项目。',
|
||||
'thinks' => 'ThinkPHP,X-admin,百度Echarts,jquwery',
|
||||
'danwei' => '大连长岛经济区',
|
||||
'grademax' => 6,
|
||||
'gradelist' => '一年级|二年级|三年级|四年级|五年级|六年级',
|
||||
'classmax' => 30,
|
||||
'classalias' => 0
|
||||
];
|
||||
|
||||
Reference in new issue
Block a user