This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
loumengning
/
hbp
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
1
master
nizongfeng
1 year ago
parent
73ee540011
commit
bc65bf896f
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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();
Write
Preview
Loading…
Cancel
Save