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