批量上传学生增加学号,增加数据验证
This commit is contained in:
1 parent
14988623e0
commit
968cc6c7b6
10 files changed
+112
-40
No files matched your search
@@ -7,19 +7,25 @@ class OnLine
|
||||
{
|
||||
use \liliuwei\think\Jump;
|
||||
// 将关联学生成绩转换成以学科列名为key得分为value的数组
|
||||
public function jump($url = '', $msg = '')
|
||||
public function jump($url = '/login/err', $msg = '')
|
||||
{
|
||||
$ser = request()->domain();
|
||||
if($msg == "")
|
||||
{
|
||||
$msg = "页面或者数据被<a href=''> 纸飞机 </a>运到火星了,啥都看不到了…";
|
||||
}
|
||||
|
||||
$isajax = request()->isAjax();
|
||||
if($isajax)
|
||||
{
|
||||
$this->error($msg, '/login/err');
|
||||
$this->error($msg, $url);
|
||||
}else{
|
||||
$url = $ser . $url . '/' . $msg;
|
||||
echo "<script language='javascript' type='text/javascript'>top.location.href='".$url."'</script>";
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
// 获取用户信息
|
||||
public function myInfo()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user