update: generate order no

This commit is contained in:
v2board 2023-02-15 14:54:56 +08:00
parent 0cbb44cdea
commit 891c84eaae

View File

@ -31,7 +31,7 @@ class Helper
public static function generateOrderNo(): string
{
$randomChar = mt_rand(10000, 99999);
return date('YmdHms') . $randomChar;
return date('YmdHms') . substr(microtime(), 2, 6) . $randomChar;
}
public static function exchange($from, $to)