|
...
|
...
|
@@ -37,7 +37,7 @@ class BTemplateLogLogic extends BaseLogic |
|
|
|
}
|
|
|
|
$bTemplateModel = new BTemplate();
|
|
|
|
//演示项目,不允许其他号码编辑
|
|
|
|
if(($this->user['project_id'] == 1) && (in_array($this->user['mobile'],$bTemplateModel->mobile)) && ($info['source'] == 1)){
|
|
|
|
if(($this->user['project_id'] == 1) && (!in_array($this->user['mobile'],$bTemplateModel->mobile)) && ($info['source'] == 1)){
|
|
|
|
$this->fail('演示项目仅支持演示功能,无法更改首页');
|
|
|
|
}
|
|
|
|
$data = $this->setParam($info);
|
...
|
...
|
|