Commit 37443771 authored by hujun's avatar hujun

随机数

parent 4defd106
...@@ -76,7 +76,7 @@ class UploadFileService ...@@ -76,7 +76,7 @@ class UploadFileService
} }
$path .= date('Ymd'); $path .= date('Ymd');
$name_str = date('YmdHis') . mt_rand(1000); $name_str = date('YmdHis') . mt_rand(10,1000);
if (is_array($_upload_file['tmp_name'])) { if (is_array($_upload_file['tmp_name'])) {
foreach ($_upload_file['tmp_name'] as $k => $v) { foreach ($_upload_file['tmp_name'] as $k => $v) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment