编辑器初始化非登录状态下不能操作

feat/task1-c-wallet
devil_gong 2019-01-07 10:04:06 +08:00
parent c6535c7fdd
commit a2ae81dfd5
1 changed files with 9 additions and 0 deletions

View File

@ -48,6 +48,15 @@ class Ueditor extends Common
// 配置信息
$this->current_config = config('ueditor_config');
$this->current_action = input('action');
// 非获取配置信息登录校验
if($this->current_action != 'config')
{
// 登录校验
$this->Is_Login();
}
// action
switch($this->current_action)
{
// 配置信息