mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	update: generate order no
This commit is contained in:
		| @@ -31,7 +31,7 @@ class Helper | |||||||
|     public static function generateOrderNo(): string |     public static function generateOrderNo(): string | ||||||
|     { |     { | ||||||
|         $randomChar = mt_rand(10000, 99999); |         $randomChar = mt_rand(10000, 99999); | ||||||
|         return date('YmdHms') . $randomChar; |         return date('YmdHms') . substr(microtime(), 2, 6) . $randomChar; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     public static function exchange($from, $to) |     public static function exchange($from, $to) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user