Bläddra i källkod

[edit][埋点bug]

zhangwei 3 år sedan
förälder
incheckning
dc88cb68ec
2 ändrade filer med 2 tillägg och 4 borttagningar
  1. 2 0
      src/http/request.js
  2. 0 4
      src/view/red-packet.vue

+ 2 - 0
src/http/request.js

@@ -37,6 +37,7 @@ function checkParams(config) {
         appVersionCode,
         loginUid: uid,
         uid,
+        appType:1,
         machineCode: mid,
         pageSource: pageSource || ''
       }
@@ -62,6 +63,7 @@ function checkParams(config) {
         appVersionCode,
         loginUid: uid,
         uid,
+        appType:1,
         machineCode: mid,
         pageSource: pageSource || ''
       }

+ 0 - 4
src/view/red-packet.vue

@@ -641,10 +641,6 @@ function handleRedPacket() {
     if (res.code == 0) {
       data.status = 'opened'
       data.money = res.data.receiveAmount
-      Report.reportLog({
-        pageSource: Report.pageSource.task_page,
-        businessType: Report.businessType.pageView,
-      });
       init()
     } else {
       handleErrorCode(res)