|
...
|
...
|
@@ -60,4 +60,20 @@ class Notice extends Command |
|
|
|
}
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @remark :删除路由通知C端
|
|
|
|
* @name :curlDelRoute
|
|
|
|
* @author :lyh
|
|
|
|
* @method :post
|
|
|
|
* @time :2023/11/30 14:43
|
|
|
|
*/
|
|
|
|
public function curlDelRoute($domain,$project_id){
|
|
|
|
if (strpos($domain, 'https://') === false) {
|
|
|
|
$domain = 'https://' . $domain . '/';
|
|
|
|
}
|
|
|
|
$url = $domain.'api/update_page/?project_id='.$project_id.'&route=6';
|
|
|
|
shell_exec('curl -k "'.$url.'"');
|
|
|
|
return $this->success();
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|