| | |
| | | import com.qxueyou.scc.sys.service.IOssVideoService; |
| | | |
| | | /** |
| | | *上传服务 |
| | | *上传服务 |
| | | * |
| | | * @author 德虎 |
| | | * @author 德虎 |
| | | * |
| | | */ |
| | | @Service |
| | |
| | | private static String resRootPath; |
| | | |
| | | /** |
| | | * 初始化客户端 |
| | | * 初始化客户端 |
| | | */ |
| | | @PostConstruct |
| | | private void init() { |
| | |
| | | |
| | | |
| | | /** |
| | | * 上传视频文件: |
| | | * 上传视频文件: |
| | | */ |
| | | public Result uplpadVideoFile(File file, String destPath) { |
| | | String fullPath = null; |
| | |
| | | } |
| | | |
| | | /** |
| | | * 上传视频文件: |
| | | * 上传视频文件: |
| | | */ |
| | | public Result uplpadVideoFile(InputStream input,String fileFormat,long fileLength, String destPath) { |
| | | String fullPath = null; |
| | |
| | | } |
| | | |
| | | /** |
| | | * 如果路径以 / 或 \ 开头,需要截取 |
| | | * 如果路径以 / 或 \ 开头,需要截取 |
| | | * @param destPath |
| | | * @return |
| | | */ |