no message
This commit is contained in:
parent
80ac4b4eab
commit
f45aa4c9a6
@ -8,6 +8,7 @@ use App\Services\Time;
|
|||||||
use voku\helper\AntiXSS;
|
use voku\helper\AntiXSS;
|
||||||
use App\Models\Tags;
|
use App\Models\Tags;
|
||||||
use App\Services\TomTool\Http;
|
use App\Services\TomTool\Http;
|
||||||
|
use App\Services\CountrySpeedService;
|
||||||
|
|
||||||
class SakaiController
|
class SakaiController
|
||||||
{
|
{
|
||||||
@ -22,25 +23,8 @@ class SakaiController
|
|||||||
public function test1()
|
public function test1()
|
||||||
{
|
{
|
||||||
|
|
||||||
function xx($a){
|
$r = CountrySpeedService::fn_b();
|
||||||
return 234234234;
|
tt($r);
|
||||||
}
|
|
||||||
|
|
||||||
echo "<pre>";
|
|
||||||
$a = "哈哈哈哈";
|
|
||||||
$a = "z";
|
|
||||||
|
|
||||||
|
|
||||||
$str = "asdfasdfasdfasdfas
|
|
||||||
|
|
||||||
dfasdfa
|
|
||||||
{$this->xx($a)}
|
|
||||||
sdsdfasdf";
|
|
||||||
|
|
||||||
|
|
||||||
// file_put_contents('output.txt', $str);
|
|
||||||
echo $str;
|
|
||||||
// echo 123123;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function __construct()
|
function __construct()
|
||||||
|
|||||||
@ -61,7 +61,7 @@ final class CountrySpeedService
|
|||||||
$iNodeSpeed = rand(config("freenode.speed_min"), config("freenode.speed_max"));
|
$iNodeSpeed = rand(config("freenode.speed_min"), config("freenode.speed_max"));
|
||||||
|
|
||||||
$oFnp = FreenodePool::whereDate('date', date("Y-m-d"))->first();
|
$oFnp = FreenodePool::whereDate('date', date("Y-m-d"))->first();
|
||||||
var_dump($oFnp->id);exit;
|
// var_dump($oFnp->id);exit;
|
||||||
$aFnpContent = json_decode($oFnp->content ?? '[]', true); // 有问题吗
|
$aFnpContent = json_decode($oFnp->content ?? '[]', true); // 有问题吗
|
||||||
$iNodeCount = count($aFnpContent["v2ray"] ?? []) ?? rand(30, 98);
|
$iNodeCount = count($aFnpContent["v2ray"] ?? []) ?? rand(30, 98);
|
||||||
// $iNodeCount = rand(config("freenode.count_min"), config("freenode.count_max"));
|
// $iNodeCount = rand(config("freenode.count_min"), config("freenode.count_max"));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user