no message

This commit is contained in:
hellcat 2025-07-03 20:33:12 +08:00
parent 9ca89872dc
commit aecddf524a
2 changed files with 16 additions and 0 deletions

View File

@ -370,6 +370,8 @@ class SakaiController
$s = "/box#country_add 冰岛";
$s = "/box#country_test";
// $s = "toWait 333333";
// $s = "no 2";
//

View File

@ -9,6 +9,20 @@ use App\Models\BoxCountry as ModelBoxCountry;
class Box extends Base {
public function country_test()
{
$this->oHttp->sToUrl = "https://".env("APP_WWW")."/api/freenode/country/rand";
$this->oHttp->bIsJson = true;
$this->sMethod = "get";
$r = $this->oHttp->send();
$r = json_decode($r, true);
$r = $this->toJson($r);
return $r;
}
public function country_hit($aParam)
{
$sName = $aParam["aArg"][1] ?? false;