|
@@ -104,8 +104,6 @@ class Ajax extends Backend |
|
|
$attachment = null; |
|
|
$attachment = null; |
|
|
//默认普通上传文件 |
|
|
//默认普通上传文件 |
|
|
$file = $this->request->file('file'); |
|
|
$file = $this->request->file('file'); |
|
|
echo 111; |
|
|
|
|
|
var_dump($file);die; |
|
|
|
|
|
try { |
|
|
try { |
|
|
$upload = new Upload($file); |
|
|
$upload = new Upload($file); |
|
|
$attachment = $upload->upload(); |
|
|
$attachment = $upload->upload(); |
|
|