6
0
Fork 0
release
李静 2021-12-30 13:53:53 +08:00
parent 6d1c71c209
commit 5327ea8c6b
1 changed files with 0 additions and 12 deletions

View File

@ -38,18 +38,6 @@ if (! function_exists('serial_number')) {
}
}
if (! function_exists('serial_number')) {
/**
* 生成流水号
*
* @return string
*/
function serial_number(): string
{
return date('YmdHis').sprintf('%06d', mt_rand(1, 999999));
}
}
if (! function_exists('trim_trailing_zeros')) {
/**
* 去除数字字符串小数点后多余的 0