后台上传官网附件

master
liuweiwen 5 years ago
parent 790b49c95b
commit b764260647

@ -249,8 +249,6 @@ class FileController extends AdminController
C("UPLOAD_{$file_driver}_CONFIG"), C("UPLOAD_{$file_driver}_CONFIG"),
$_REQUEST['flag'] $_REQUEST['flag']
); //TODO:上传到远程服务器 ); //TODO:上传到远程服务器
/* 记录图片信息 */ /* 记录图片信息 */
if ($info) { if ($info) {
$return['status'] = 1; $return['status'] = 1;

@ -181,7 +181,7 @@
'removeTimeout' : 1, 'removeTimeout' : 1,
'fileTypeExts' : '*.doc; *.docx;', 'fileTypeExts' : '*',
"onUploadSuccess" : uploadPicture{$field.name}, "onUploadSuccess" : uploadPicture{$field.name},

Loading…
Cancel
Save