wallet tron transactions
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
<?php
|
||||
|
||||
namespace App\Tools;
|
||||
use App\Const\Prefix;
|
||||
use Godruoyi\Snowflake\Snowflake;
|
||||
use Illuminate\Support\Str;
|
||||
|
||||
@ -53,9 +54,9 @@ class Tools
|
||||
return rand(100000,999999);
|
||||
}
|
||||
|
||||
static function genUuid(): string
|
||||
static function genUuid($prefix = Prefix::ORDER_SN_PREFIX): string
|
||||
{
|
||||
return Str::orderedUuid();
|
||||
return $prefix.Str::orderedUuid();
|
||||
}
|
||||
|
||||
static function JonsEncode(array $aData): string
|
||||
|
||||
Reference in New Issue
Block a user