mirror of
https://github.com/v2board/v2board.git
synced 2025-01-10 16:19:10 +08:00
update: generate order no
This commit is contained in:
parent
0cbb44cdea
commit
891c84eaae
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user