|
@@ -40,6 +40,8 @@ public class SceneServiceImpl implements ISceneService {
|
|
|
private String queueName;
|
|
|
@Value("${oss.bodySegment.bucket:4dkankan-huadong}")
|
|
|
private String bodySegmentBucket;
|
|
|
+ @Value("${oss.bodySegment.point:oss-cn-shanghai.aliyuncs.com}")
|
|
|
+ private String bodySegmentHost;
|
|
|
|
|
|
@Autowired
|
|
|
private OssBodySegmentUtil ossBodySegmentUtil;
|
|
@@ -75,7 +77,7 @@ public class SceneServiceImpl implements ISceneService {
|
|
|
|
|
|
Map<String, String> map = new HashMap<>();
|
|
|
map.put("uuid", uuid);
|
|
|
- map.put("imgUrl", orgImgOssPath);
|
|
|
+ map.put("imgUrl", "https://" + bodySegmentBucket + "." + bodySegmentHost + "/" + orgImgOssPath);
|
|
|
rabbitMqProducer.sendByWorkQueue(queueName, map);
|
|
|
|
|
|
return ResultData.ok(uuid);
|