|
@@ -163,10 +163,14 @@ public class HouseManagerController extends BaseController{
|
|
|
if(StringUtils.isBlank(tmHouse.getSceneNum())){
|
|
|
return Result.failure("该房源未生成场景码");
|
|
|
}
|
|
|
+ String path = panoService.getOneVrLink(houseId , getToken());
|
|
|
+ if(StringUtils.isBlank(path)){
|
|
|
+ return Result.failure("可分享的链接未生成");
|
|
|
+ }
|
|
|
+ String newOuterSceneVrHost = outerSceneVrHost.substring(0 , outerSceneVrHost.length() - 1);
|
|
|
+ String totalVrUrl = newOuterSceneVrHost + path;
|
|
|
+ log.info("将要生成二维码的链接为:{}" , totalVrUrl);
|
|
|
String totalOssQueryPath = "";
|
|
|
- String totalVrUrl = outerSceneVrHost + sceneVrLink + tmHouse.getSceneNum() + "&prodId=" + tmHouse.getFcbHouseId()
|
|
|
- + "&houseId=" + tmHouse.getId();
|
|
|
-
|
|
|
if(StringUtils.isBlank(tmHouse.getQrCode())){
|
|
|
String localPath = imageLocalPath + "logo.png";
|
|
|
String outPutImageName = System.currentTimeMillis() + ".jpg";
|
|
@@ -241,8 +245,13 @@ public class HouseManagerController extends BaseController{
|
|
|
log.info("下载文件失败:{}" , fullLocalImagePath);
|
|
|
return Result.failure("上传文件失败");
|
|
|
}
|
|
|
- String totalVrUrl = outerSceneVrHost + sceneVrLink + tmHouse.getSceneNum() + "&prodId=" + tmHouse.getFcbHouseId()
|
|
|
- + "&houseId=" + tmHouse.getId();
|
|
|
+ String path = panoService.getOneVrLink(houseId , getToken());
|
|
|
+ if(StringUtils.isBlank(path)){
|
|
|
+ return Result.failure("可分享的链接未生成");
|
|
|
+ }
|
|
|
+ String newOuterSceneVrHost = outerSceneVrHost.substring(0 , outerSceneVrHost.length() - 1);
|
|
|
+ String totalVrUrl = newOuterSceneVrHost + path;
|
|
|
+ log.info("将要生成二维码的链接为:{}" , totalVrUrl);
|
|
|
String outPutImageName = System.currentTimeMillis() + ".jpg";
|
|
|
String outPutImageResultPath = imageLocalPath + outPutImageName;
|
|
|
try {
|