作者 lyh

gx

@@ -373,9 +373,10 @@ class BTemplateLogic extends BaseLogic @@ -373,9 +373,10 @@ class BTemplateLogic extends BaseLogic
373 if($source == BTemplate::SOURCE_HOME){ 373 if($source == BTemplate::SOURCE_HOME){
374 $type = 'index'; 374 $type = 'index';
375 $route = ''; 375 $route = '';
376 - }  
377 return $this->updateNotify(['project_id'=>$this->user['project_id'], 'type'=>$type, 'route'=>$route]); 376 return $this->updateNotify(['project_id'=>$this->user['project_id'], 'type'=>$type, 'route'=>$route]);
378 } 377 }
  378 + return $this->success();
  379 + }
379 380
380 /** 381 /**
381 * @remark :处理保存模版数据 382 * @remark :处理保存模版数据