2.0.0开发启动

This commit is contained in:
Devil
2021-01-27 22:21:04 +08:00
parent 38903e8a45
commit a692a1ae56
58 changed files with 538 additions and 172 deletions

View File

@ -13,6 +13,7 @@ namespace app\admin\controller;
use app\service\ConfigService;
use app\service\GoodsService;
use app\service\SiteService;
use app\service\ResourcesService;
/**
* 站点设置
@ -123,7 +124,7 @@ class Site extends Common
}
// 编辑器文件存放地址
$this->assign('editor_path_type', 'common');
$this->assign('editor_path_type', ResourcesService::EditorPathTypeValue('common'));
// 视图
$view = 'site/'.$this->nav_type.'/'.$this->view_type;