|
@@ -50,8 +50,6 @@ public class FdkkSceneEditService {
|
|
|
@Resource
|
|
|
private CdfClient cdfClient;
|
|
|
@Autowired
|
|
|
- private IFdkkUserService fdkkUserService;
|
|
|
- @Autowired
|
|
|
private IHotRelationService hotRelationService;
|
|
|
@Autowired
|
|
|
FdkkSceneService fdkkSceneService;
|
|
@@ -115,6 +113,9 @@ public class FdkkSceneEditService {
|
|
|
public JSONArray getCdfHotJson(String num) {
|
|
|
String data = uploadToOssUtil.getObjectContent(bucket, String.format(hotCdfPath, num));
|
|
|
if(StringUtils.isBlank(data)){
|
|
|
+ data = uploadToOssUtil.getObjectContent(bucket, String.format(hotPath, num));
|
|
|
+ }
|
|
|
+ if(StringUtils.isBlank(data)){
|
|
|
throw new BusinessException(ResultCode.NOT_RECORD);
|
|
|
}
|
|
|
return JSONObject.parseArray(data);
|