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