|
@@ -167,7 +167,6 @@ class Upload extends BaseModel
|
|
|
if($check_res["code"] >= 0){
|
|
|
// 获取表单上传文件
|
|
|
$file = request()->file($param["name"]);
|
|
|
- echo "<pre>";print_r($file);exit;
|
|
|
try {
|
|
|
$extend_name = $file->getOriginalExtension();
|
|
|
$new_name = $this->createNewFileName().".".$extend_name;
|