作者 lyh

gx

@@ -175,7 +175,7 @@ class BTemplateLogic extends BaseLogic @@ -175,7 +175,7 @@ class BTemplateLogic extends BaseLogic
175 */ 175 */
176 public function templateSave(){ 176 public function templateSave(){
177 //演示项目,不允许其他号码编辑 177 //演示项目,不允许其他号码编辑
178 - if(($this->user['project_id'] == 1) && (in_array($this->user['mobile'],$this->model->mobile)) && ($this->param['source'] == 1)){ 178 + if(($this->user['project_id'] == 1) && (!in_array($this->user['mobile'],$this->model->mobile)) && ($this->param['source'] == 1)){
179 $this->fail('演示项目仅支持演示功能,无法更改首页'); 179 $this->fail('演示项目仅支持演示功能,无法更改首页');
180 } 180 }
181 //查询当前模版是否已保存 181 //查询当前模版是否已保存