nizongfeng 1 year ago
parent
commit
bc65bf896f
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      application/admin/controller/Ajax.php

+ 1
- 0
application/admin/controller/Ajax.php View File

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


Loading…
Cancel
Save