Authored by mali

视频封面

@@ -40,7 +40,7 @@ public class QiniuLiveRecordService { @@ -40,7 +40,7 @@ public class QiniuLiveRecordService {
40 @Autowired 40 @Autowired
41 private BuyerOrderMapper buyerOrderMapper; 41 private BuyerOrderMapper buyerOrderMapper;
42 42
43 - @Resource(name = "core-config-reader") 43 + @Autowired
44 private ConfigReader configReader; 44 private ConfigReader configReader;
45 45
46 private static String makeLiveVideoUrl(String filename) { 46 private static String makeLiveVideoUrl(String filename) {
@@ -129,7 +129,7 @@ public class QiniuLiveRecordService { @@ -129,7 +129,7 @@ public class QiniuLiveRecordService {
129 boolean aBoolean = configReader.getBoolean("ufo.order.initVideoShow", false); 129 boolean aBoolean = configReader.getBoolean("ufo.order.initVideoShow", false);
130 130
131 LOG.info("method queryInitVideo in, aBoolean : {}", aBoolean); 131 LOG.info("method queryInitVideo in, aBoolean : {}", aBoolean);
132 - 132 + aBoolean =false;
133 if (!aBoolean) { 133 if (!aBoolean) {
134 return; 134 return;
135 } 135 }