正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -62,7 +62,7 @@ class BTemplateLogic extends BaseLogic | @@ -62,7 +62,7 @@ class BTemplateLogic extends BaseLogic | ||
| 62 | } | 62 | } |
| 63 | $TemplateInfo = []; | 63 | $TemplateInfo = []; |
| 64 | $key = 'template_'.$this->user['project_id'].'_'.$this->param['source'].'_'.$this->param['source_id']; | 64 | $key = 'template_'.$this->user['project_id'].'_'.$this->param['source'].'_'.$this->param['source_id']; |
| 65 | - if(!empty(Cache::add($key))){ | 65 | + if(!empty(Cache::get($key))){ |
| 66 | $this->fail('当前页面正在装修中'); | 66 | $this->fail('当前页面正在装修中'); |
| 67 | } | 67 | } |
| 68 | if($this->param['source'] == $this->model::SOURCE_HOME){//首页 | 68 | if($this->param['source'] == $this->model::SOURCE_HOME){//首页 |
-
请 注册 或 登录 后发表评论