|
|
|
@ -43,7 +43,7 @@ import java.util.Map;
|
|
|
|
|
@Slf4j
|
|
|
|
|
@RestController
|
|
|
|
|
@RequestMapping("/test/api")
|
|
|
|
|
public class ApiTestController {
|
|
|
|
|
public class PrevailCloudApiController {
|
|
|
|
|
|
|
|
|
|
@Resource
|
|
|
|
|
private ApiConfig apiConfig;
|
|
|
|
@ -133,7 +133,7 @@ public class ApiTestController {
|
|
|
|
|
if (pictureSourceResult.getLivePhoto() == null) {
|
|
|
|
|
List<Map<String, Object>> livePhoto = new ArrayList<>();
|
|
|
|
|
Map<String, Object> map = new HashMap<>();
|
|
|
|
|
map.put("imgUrl", "http://47.93.59.251/api/image/default.png");
|
|
|
|
|
map.put("imgUrl", StringUtils.isEmpty(apiConfig.getDefaultPictureImg()) ? "http://47.93.59.251/api/image/default.png" : apiConfig.getDefaultPictureImg());
|
|
|
|
|
map.put("imgName", "default.png");
|
|
|
|
|
livePhoto.add(map);
|
|
|
|
|
pictureSourceResult.setLivePhoto(livePhoto);
|