diff --git a/app/helpers.php b/app/helpers.php index dac8d716..70892583 100644 --- a/app/helpers.php +++ b/app/helpers.php @@ -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