update: uniproxy

This commit is contained in:
tokumeikoi
2022-11-17 02:19:11 +08:00
parent a82b78d770
commit 7872516037
3 changed files with 30 additions and 22 deletions

View File

@ -4,6 +4,10 @@ namespace App\Utils;
class Helper
{
public static function uuidToBase64($uuid, $length)
{
return base64_encode(substr(str_replace('-', '', $uuid), 0, $length - 6));
}
public static function guid($format = false)
{
if (function_exists('com_create_guid') === true) {