no message

This commit is contained in:
hellcat 2025-07-07 14:24:00 +08:00
parent 7451614994
commit f8d1c0ed66

View File

@ -23,11 +23,16 @@ class Dog extends Base {
$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)