推拉函数与queue

This commit is contained in:
cano
2024-03-03 09:39:06 +08:00
parent f5f7168009
commit 66d88ea2b3
15 changed files with 476 additions and 108 deletions

View File

@ -51,6 +51,16 @@ class Tools
return Str::orderedUuid();
}
static function JonsEncode(array $aData): string
{
return json_encode($aData, JSON_UNESCAPED_UNICODE);
}
static function JonsDecode(string $aData): string
{
return json_decode($aData, JSON_UNESCAPED_UNICODE);
}
}