This commit is contained in:
as2252258@163.com
2021-03-21 02:15:02 +08:00
parent 22aa0cce1e
commit b3d2c38d4b
+9
View File
@@ -602,6 +602,15 @@ if (!function_exists('send')) {
}
if (!function_exists('zero_full')) {
function zero_full(int $data = 1, int $length = 10): string
{
return sprintf('%0' . $length . 'd', $data);
}
}
if (!function_exists('redirect')) {