浏览代码

add transformType 5&12

xuzuoyun 3 年之前
父节点
当前提交
a516d4fe5d

+ 20 - 0
.idea/jarRepositories.xml

@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="RemoteRepositoriesConfiguration">
+    <remote-repository>
+      <option name="id" value="central" />
+      <option name="name" value="Central Repository" />
+      <option name="url" value="https://repo.maven.apache.org/maven2" />
+    </remote-repository>
+    <remote-repository>
+      <option name="id" value="central" />
+      <option name="name" value="Maven Central repository" />
+      <option name="url" value="https://repo1.maven.org/maven2" />
+    </remote-repository>
+    <remote-repository>
+      <option name="id" value="jboss.community" />
+      <option name="name" value="JBoss Community repository" />
+      <option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
+    </remote-repository>
+  </component>
+</project>

+ 10 - 0
.idea/runConfigurations.xml

@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="RunConfigurationProducerService">
+    <option name="ignoredProducers">
+      <set>
+        <option value="com.android.tools.idea.compose.preview.runconfiguration.ComposePreviewRunConfigurationProducer" />
+      </set>
+    </option>
+  </component>
+</project>

+ 4 - 0
src/main/java/cn/com/ctop/track/controller/TrackController.java

@@ -88,6 +88,10 @@ public class TrackController {
                     if (platform != null && platform.equals("kuaishou")) {
                         callbackUrl = callbackUrl + "&event_type=1&event_time=" + new Date().getTime();
                     }
+                } else if (transformType.equals("5") || transformType.equals("12")) {
+                    if (platform != null && platform.equals("kuaishou")) {
+                        callbackUrl = callbackUrl + "&event_type=84&event_time=" + new Date().getTime();
+                    }
                 }
             }
             String result = HttpUtils.httpGetRequest(callbackUrl);