no message
This commit is contained in:
parent
da0cceae16
commit
498da2b2b7
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user