diff --git a/app/Services/TG/Hook/Mod/Dog.php b/app/Services/TG/Hook/Mod/Dog.php index c46b722..505d280 100644 --- a/app/Services/TG/Hook/Mod/Dog.php +++ b/app/Services/TG/Hook/Mod/Dog.php @@ -15,15 +15,14 @@ class Dog extends Base { $oArticle = ModelArticle::find($iId); -// https://api.github.com/repos/v2rayclashfree-com/v2rayclashfree - $this->oHttp->sToUrl = "https://api.github.com/repos/".$oArticle->user_name."/".$oArticle->project_name."sdfsdfsdf"; + $this->oHttp->sToUrl = "https://api.github.com/repos/".$oArticle->user_name."/".$oArticle->project_name; $this->oHttp->sMetHod = "get"; -// $this->oHttp->bIsJson = true; $r = $this->oHttp->send(); $aGitHub = json_decode($r, true); if (!isset($aGitHub["id"])) { + $aGitHub["thisSendUrl"] = $this->oHttp->sToUrl; return $this->toJson($aGitHub); }