系统设置初始化

This commit is contained in:
2020-04-19 10:20:43 +08:00
parent 99a93a65aa
commit 35ba9110d3
3 changed files with 17 additions and 19 deletions

View File

@@ -10,14 +10,10 @@ namespace app\controller\front;
use think\facade\View;
use think\facade\Cache;
use \app\controller\Base as BaseC;
use app\controller\Base as BaseC;
class Base extends BaseC {
protected function initialize(){
}
protected function fetch($template = '') {
$config = Cache::get('system_config_data');
$this->tpl_config['view_depr'] = '_';