修改权限,增加成绩录入权限验证
This commit is contained in:
1 parent
4e94213a81
commit
45fee42b6f
13 files changed
+276
-43
No files matched your search
@@ -62,10 +62,6 @@ class Index extends AdminBase
|
||||
|
||||
$src['auth'] = event('mybanji', array());
|
||||
$src['auth'] = $src['auth'][0];
|
||||
if(count($src['banji_id']) > 0) # 如果没有获取到班级id,则查询班级id
|
||||
{
|
||||
$src['auth']['banji_id'] = array_intersect($src['auth']['banji_id'], $src['banji_id']);
|
||||
}
|
||||
|
||||
// 实例化并查询成绩
|
||||
$cj = new Chengji;
|
||||
|
||||
Reference in new issue
Block a user