Authored by mali

详情页支持视频

... ... @@ -55,6 +55,8 @@ public class UfoLiveAvthumbController {
* @return
*/
@RequestMapping(params = "method=ufo.order.videos")
@IgnoreSession
@IgnoreSignature
public ApiResponse buyerModifyAddress(@RequestParam("product_id") int productId){
logger.info("in ufo.order.videos, product_id {}.", productId);
... ...
... ... @@ -106,7 +106,7 @@ public class QiniuLiveRecordService {
buyerOrders.stream().forEach(item -> {
OrderVideoResp orderVideoResp = new OrderVideoResp();
QiniuLiveRecord qiniuLiveRecord = recordMap.get(item.getOrderCode());
orderVideoResp.setCreateTime(DateUtil.getDateFormatEx(qiniuLiveRecord.getEndTime(), DateUtil.MM_dd_yyyy_HH_mm_ssEx);
orderVideoResp.setCreateTime(DateUtil.getDateFormatEx(qiniuLiveRecord.getEndTime(), DateUtil.MM_dd_yyyy_HH_mm_ssEx));
orderVideoResp.setDesc(configReader.getString("ufo.order.realDesc", "鉴定结果:真"));
orderVideoResp.setVideoUrl(makeLiveVideoUrl(qiniuLiveRecord.getVedioFileUrl()));
orderVideoResp.setInitFlag(Boolean.FALSE);
... ... @@ -122,7 +122,7 @@ public class QiniuLiveRecordService {
orderVideoResp.setVideoUrl(configReader.getString("ufo.order.initVideo", "http://flv01.static.yhbimg.com/ufo/live/mp4/9827059662848_1545892263.mp4"));
orderVideoResp.setVideoPictureUrl(configReader.getString("ufo.order.initVideoPic", "http://img11.static.yhbimg.com/goodsimg/2018/12/28/17/01d30dbfc038ffffc2fc9506dcf9da164f.jpg"));
orderVideoResp.setCreateTime(DateUtil.getDateFormatEx(configReader.getInt("ufo.order.initVideoTime", 1546272000), DateUtil.MM_dd_yyyy_HH_mm_ssEx);
orderVideoResp.setCreateTime(DateUtil.getDateFormatEx(configReader.getInt("ufo.order.initVideoTime", 1546272000), DateUtil.MM_dd_yyyy_HH_mm_ssEx));
orderVideoResp.setDesc(configReader.getString("ufo.order.initVideoDesc", "宣传视频"));
orderVideoResp.setInitFlag(Boolean.TRUE);
return orderVideoResp;
... ...