소스 검색

[edit][埋点bug]

zhangwei 3 년 전
부모
커밋
dc88cb68ec
2개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  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)