fhx
2024-08-28 52ed07d065d2d14e3d8ecd891e2c58b3cff352a6
1.修改美际路径http问题
1个文件已修改
8 ■■■■■ 已修改文件
phi_platform_user/src/main/java/com/hx/phip/controller/micro/MicroRecordV2Controller.java 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phi_platform_user/src/main/java/com/hx/phip/controller/micro/MicroRecordV2Controller.java
@@ -669,6 +669,14 @@
            //颜值规划关联的美际报告
            MjSkinReport mjSkinReport = commonService.selectOneByKey(MjSkinReportMapper.class,mjRecordId);
            if(mjSkinReport != null){
                if (!StringUtils.isEmpty(mjSkinReport.getShareUrl()) && !mjSkinReport.getShareUrl().contains("https")) {
                    mjSkinReport.setShareUrl( mjSkinReport.getShareUrl().replace("http", "https"));
                }
                if (!StringUtils.isEmpty(mjSkinReport.getViewUrl()) && !mjSkinReport.getViewUrl().contains("https")) {
                    mjSkinReport.setViewUrl(mjSkinReport.getViewUrl().replace("http", "https"));
                }
            }
            data.put("mjSkinReport",mjSkinReport);
            //查询对应关联资源文件记录
            data.put("rsList",getMjFileList(mjRecordId));