Browse Source

上传的图片保存到文件管理

author
wanghongjun 6 months ago
parent
commit
e97cc1f254
  1. 3
      app/common/controller/Upload.php

3
app/common/controller/Upload.php

@ -162,6 +162,9 @@ class Upload extends BaseController
$poster=getMainHost().'/static/common/img/video.png';
}
$ret['poster'] = $poster;
} else {
$fileInfo=new FileModel;
$fileInfo->save($ret);
}
return $ret;
}

Loading…
Cancel
Save