no message
This commit is contained in:
parent
9ca89872dc
commit
aecddf524a
@ -370,6 +370,8 @@ class SakaiController
|
||||
|
||||
$s = "/box#country_add 冰岛";
|
||||
|
||||
$s = "/box#country_test";
|
||||
|
||||
// $s = "toWait 333333";
|
||||
// $s = "no 2";
|
||||
//
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user