后台批量操作bug修复
内核更新
This commit is contained in:
@@ -138,6 +138,7 @@ class Base extends \think\Controller{
|
||||
//request信息
|
||||
protected function requestInfo(){
|
||||
$this->request = \think\Request::instance();
|
||||
$this->param = $this->request->param();
|
||||
defined('MODULE_NAME') or define('MODULE_NAME', $this->request->module());
|
||||
defined('CONTROLLER_NAME') or define('CONTROLLER_NAME', $this->request->controller());
|
||||
defined('ACTION_NAME') or define('ACTION_NAME', $this->request->action());
|
||||
@@ -145,5 +146,6 @@ class Base extends \think\Controller{
|
||||
defined('IS_GET') or define('IS_GET', $this->request->isGet());
|
||||
$this->url = $this->request->module() . '/' . $this->request->controller() . '/' . $this->request->action();
|
||||
$this->assign('request',$this->request);
|
||||
$this->assign('param',$this->param);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user