Merge pull request 'test' (#67) from test into prod
Reviewed-on: http://220.205.16.27:18081/goflytec/GoFly-platform-services/pulls/67
This commit is contained in:
+7
-2
@@ -199,9 +199,14 @@ public class MediaServiceImpl implements IMediaService {
|
|||||||
|
|
||||||
if (videoFiles != null && videoFiles.size() > 7) {
|
if (videoFiles != null && videoFiles.size() > 7) {
|
||||||
clips.put("8", getUrlBySafeIndex(videoFiles, 7));
|
clips.put("8", getUrlBySafeIndex(videoFiles, 7));
|
||||||
clips.put("9", getUrlBySafeIndex(videoFiles, 8));
|
|
||||||
}
|
}
|
||||||
|
if(videoFiles !=null && videoFiles.size() > 12){
|
||||||
|
clips.put("201", getUrlBySafeIndex(videoFiles, 12));
|
||||||
|
clips.put("202", getUrlBySafeIndex(videoFiles, 13));
|
||||||
|
clips.put("203", getUrlBySafeIndex(videoFiles, 14));
|
||||||
|
clips.put("204", getUrlBySafeIndex(videoFiles, 15));
|
||||||
|
clips.put("205", getUrlBySafeIndex(videoFiles, 16));
|
||||||
|
}
|
||||||
return JSON.toJSONString(clips);
|
return JSON.toJSONString(clips);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new BusinessException("构建剪辑参数失败: " + e.getMessage());
|
throw new BusinessException("构建剪辑参数失败: " + e.getMessage());
|
||||||
|
|||||||
Reference in New Issue
Block a user