github/app/Services/Github/Mod/Base.php
2025-04-16 18:48:43 +08:00

27 lines
477 B
PHP
Executable File

<?php
namespace App\Services\Github\Mod;
use App\Services\TomTool\Http;
class Base {
public function __construct()
{
$this->oHttp = new Http();
}
public function todayUpd()
{
$this->oHttp->sToUrl = env('api_url_freenode_base').'/'.'api/github/todayupd';
$r = $this->oHttp->send();
if ($r == 1) {
return true;
} else {
return false;
}
}
}