huangzhiguo 1 年間 前
コミット
a5f74e9b53

+ 3 - 1
src/main/java/com/caimei365/tools/service/impl/CmBehaviorRecordServiceImpl.java

@@ -91,7 +91,6 @@ public class CmBehaviorRecordServiceImpl implements CmBehaviorRecordService {
                         }
                     }
                     // 页面标签
-                    cmBehaviorRecordPo.setPageLabel(" ");
                     if (str.startsWith("pageLabel") && str.contains("=")) {
                         String[] split1 = str.split("=");
                         cmBehaviorRecordPo.setPageLabel("");
@@ -114,6 +113,9 @@ public class CmBehaviorRecordServiceImpl implements CmBehaviorRecordService {
                             }
                         }
                     }
+                    if (StringUtils.isBlank(cmBehaviorRecordPo.getPageLabel()) || StringUtils.isEmpty(cmBehaviorRecordPo.getPageLabel())) {
+                        cmBehaviorRecordPo.setPageLabel(" ");
+                    }
                     // 用户行为记录 or roos页面统计
                     if (str.startsWith("behaviorType") && str.contains("=")) {
                         String[] split1 = str.split("=");