插件的一些调整
This commit is contained in:
@@ -38,7 +38,7 @@ class Base extends \think\Controller {
|
||||
$mc = ucfirst(parse_name($mc, 1));
|
||||
$op = parse_name($op, 1);
|
||||
}
|
||||
|
||||
|
||||
if (!empty($mc) && !empty($op) && !empty($ac)) {
|
||||
$ops = ucwords($op);
|
||||
$class = "\\addons\\{$mc}\\controller\\{$ops}";
|
||||
@@ -137,6 +137,17 @@ class Base extends \think\Controller {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @title 后台设置title
|
||||
* @description 设置后台页面的title
|
||||
* @Author molong
|
||||
* @DateTime 2017-06-21
|
||||
* @param string $title 标题名称
|
||||
*/
|
||||
protected function setMeta($title = '') {
|
||||
$this->assign('meta_title', $title);
|
||||
}
|
||||
|
||||
//request信息
|
||||
protected function requestInfo() {
|
||||
$this->param = $this->request->param();
|
||||
|
||||
Reference in New Issue
Block a user