重构查询
This commit is contained in:
1 parent
bb631a3643
commit
8f5784917c
73 files changed
+2634
-371
No files matched your search
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
declare (strict_types = 1);
|
||||
|
||||
namespace app\formattools\controller;
|
||||
|
||||
class OnLine
|
||||
{
|
||||
use \liliuwei\think\Jump;
|
||||
// 将关联学生成绩转换成以学科列名为key得分为value的数组
|
||||
public function jump($url = '', $msg = '')
|
||||
{
|
||||
$isajax = request()->isAjax();
|
||||
if($isajax)
|
||||
{
|
||||
$this->error($msg, '/login/err');
|
||||
}else{
|
||||
echo "<script language='javascript' type='text/javascript'>top.location.href='".$url."'</script>";
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user