Commit f89c1ddf authored by m1991's avatar m1991

资讯模块数据——视频功能修复

parent 02d2c43a
......@@ -51,7 +51,7 @@ public class UploadServiceImpl implements UploadService {
* http://路径
*/
String basePath = request.getScheme() + "://" + request.getServerName()
+ ":" + request.getServerPort()+"/upload/video/";
+ ":" + request.getServerPort()+"/upload/";
Long time = new Date().getTime();
String fileName = file.getOriginalFilename();//文件原始名称
......@@ -82,7 +82,7 @@ public class UploadServiceImpl implements UploadService {
resultMap.put("videoUrl", videoUrl);
resultMap.put("imgUrl", imgUrl);
resultMap.put("returnCode", 200);
resultMap.put("returnCode", 0);
String zxUrl=videoUrl;
//System.out.println("上传的文件名为:"+fileName+",后缀名为:"+newFileName);
/**
......@@ -267,6 +267,7 @@ public class UploadServiceImpl implements UploadService {
if (null != split){
List<String> strings = Arrays.asList(split);
shopZx.setAskImgList(strings);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment