|
...
|
...
|
@@ -252,7 +252,7 @@ class CustomTemplateLogic extends BaseLogic |
|
|
|
$this->setTemplateLog($bSettingInfo['template_id'] ?? 0,$html,$this->param['id']);
|
|
|
|
//通知
|
|
|
|
$this->addUpdateNotify(RouteMap::SOURCE_PAGE,$info['url']);
|
|
|
|
$this->curlDelRoute(['route'=>$info['url'],'new_route'=>$info['url']]);
|
|
|
|
$this->curlDelRoute(['old_route'=>$info['url'],'new_route'=>$info['url']]);
|
|
|
|
return $this->success();
|
|
|
|
}
|
|
|
|
|
|
...
|
...
|
@@ -391,7 +391,7 @@ class CustomTemplateLogic extends BaseLogic |
|
|
|
}
|
|
|
|
}
|
|
|
|
$this->addUpdateNotify(RouteMap::SOURCE_PAGE,$route);
|
|
|
|
$this->curlDelRoute(['route'=>$info['url'],'new_route'=>$route]);
|
|
|
|
$this->curlDelRoute(['old_route'=>$info['url'],'new_route'=>$route]);
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
...
|
...
|
@@ -436,7 +436,7 @@ class CustomTemplateLogic extends BaseLogic |
|
|
|
RouteMap::delRoute(RouteMap::SOURCE_PAGE, $id, $this->user['project_id']);
|
|
|
|
//生成一条删除路由记录
|
|
|
|
$info = $this->model->read(['id' => $id], ['id', 'url']);
|
|
|
|
$this->curlDelRoute(['route'=>$info['url']]);
|
|
|
|
$this->curlDelRoute(['old_route'=>$info['url']]);
|
|
|
|
return $this->success();
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|