Commit ff76a8ad authored by zhuwei's avatar zhuwei

注释

parent 1a16fa2c
...@@ -162,7 +162,6 @@ class UploadFileService ...@@ -162,7 +162,6 @@ class UploadFileService
} }
$file_info = pathinfo($_upload_file['name']); $file_info = pathinfo($_upload_file['name']);
dump($file_info['extension']);
if (!in_array($file_info['extension'], $ext)) { if (!in_array($file_info['extension'], $ext)) {
$data['code'] = 101; $data['code'] = 101;
$data['msg'] = '文件类型不符无法上传'; $data['msg'] = '文件类型不符无法上传';
......
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