|
...
|
...
|
@@ -72,9 +72,9 @@ class BTemplateController extends BaseController |
|
|
|
*/
|
|
|
|
public function save(TemplateRequest $templateRequest,BTemplateLogic $BTemplateLogic){
|
|
|
|
//演示项目,不允许其他号码编辑
|
|
|
|
// if(($this->user['project_id'] == 1) && ($this->user['mobile'] != '15928018676') && ($this->param['source'] == 1)){
|
|
|
|
// $this->response('演示项目仅支持演示功能,无法更改首页',Code::USER_ERROR);
|
|
|
|
// }
|
|
|
|
if(($this->user['project_id'] == 1) && ($this->user['mobile'] != '15928018676' || $this->user['mobile'] != '15680871314') && ($this->param['source'] == 1)){
|
|
|
|
$this->response('演示项目仅支持演示功能,无法更改首页',Code::USER_ERROR);
|
|
|
|
}
|
|
|
|
$templateRequest->validated();
|
|
|
|
$BTemplateLogic->templateSave();
|
|
|
|
$this->response('success');
|
...
|
...
|
|