no message
This commit is contained in:
parent
7451614994
commit
f8d1c0ed66
@ -23,11 +23,16 @@ class Dog extends Base {
|
|||||||
|
|
||||||
$aGitHub = json_decode($r, true);
|
$aGitHub = json_decode($r, true);
|
||||||
|
|
||||||
return $this->toJson($aGitHub);
|
$aGitHubNew = [];
|
||||||
|
$aGitHubNew["⭐️星星"] = $aGitHub["stargazers_count"];
|
||||||
|
$aGitHubNew["♻️最后更新"] = str_replace("T", " ", rtrim($aGitHub["pushed_at"], "Z")); // 替换T为空格并去掉Z
|
||||||
|
$aGitHubNew["watchers"] = $aGitHub["watchers_count"];
|
||||||
|
$aGitHubNew["forks"] = $aGitHub["forks_count"];
|
||||||
|
$aGitHubNew["watchers"] = $aGitHub["watchers_count"];
|
||||||
|
$aGitHubNew["url"] = $aGitHub["html_url"];
|
||||||
|
|
||||||
|
return $this->toJson($aGitHubNew);
|
||||||
|
|
||||||
// tomd($aGitHub, 1);
|
|
||||||
// tomd($this->oHttp->sToUrl);
|
|
||||||
// tomd($r, 1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function List($aParam)
|
public function List($aParam)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user