mirror of
https://github.com/v2board/v2board.git
synced 2025-06-15 22:27:50 +08:00
update: uniproxy
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user