|
|
@@ -59,8 +59,7 @@ public class TencentPushController {
|
|
|
// 这里通过订单查询相关信息
|
|
|
if (orderRoomId != null && orderRoomId.size() > 0) {
|
|
|
OrderRoomIdEntity orderRoomIdEntity = orderRoomId.get(0);
|
|
|
- String orderType = StepStatusEnum.getType(orderRoomIdEntity.getOrderId());
|
|
|
- String filePath = orderRoomIdEntity.getBusinessNo() + "/" + orderType;
|
|
|
+ String filePath = orderRoomIdEntity.getBusinessNo() + "/" ;
|
|
|
String fileName = filePath + "/PC" + fileId + ".mp4";
|
|
|
DownloadUtils.downloadFile(json.get("video_url"), fileName);
|
|
|
OrderRoomIdEntity update = new OrderRoomIdEntity();
|
|
|
@@ -109,8 +108,8 @@ public class TencentPushController {
|
|
|
String roomId = param.get("roomId");
|
|
|
OrderRoomIdEntity orderRoomId = new OrderRoomIdEntity();
|
|
|
orderRoomId.setAppFileId(fileId);
|
|
|
- String orderType = StepStatusEnum.getType(orderRoomId.getOrderId());
|
|
|
- String filePath = orderRoomId.getBusinessNo() + "/" + orderType;
|
|
|
+
|
|
|
+ String filePath = orderRoomId.getBusinessNo() + "/" ;
|
|
|
String fileName = filePath + "/APP" + fileId + ".mp4";
|
|
|
DownloadUtils.downloadFile(videoUrl.get("Url").toString(), fileName);
|
|
|
orderRoomId.setAppVideoUrl(fileName);
|
|
|
@@ -152,8 +151,8 @@ public class TencentPushController {
|
|
|
|
|
|
if (orderRoomId != null && orderRoomId.size() > 0) {
|
|
|
OrderRoomIdEntity orderRoomIdEntity = orderRoomId.get(0);
|
|
|
- String orderType = StepStatusEnum.getType(orderRoomIdEntity.getOrderId());
|
|
|
- String filePath = orderRoomIdEntity.getBusinessNo() + "/" + orderType;
|
|
|
+
|
|
|
+ String filePath = orderRoomIdEntity.getBusinessNo() + "/" ;
|
|
|
String fileName = filePath + "/APP" + fileId + ".mp4";
|
|
|
DownloadUtils.downloadFile(path, fileName);
|
|
|
OrderRoomIdEntity update = new OrderRoomIdEntity();
|