소스 검색

chore: 支持绑定手机号来源

zhangyuhan 5 달 전
부모
커밋
c1a7344f27
2개의 변경된 파일12개의 추가작업 그리고 4개의 파일을 삭제
  1. 6 2
      src/jfw/modules/app/src/web/staticres/jyapp/me/js/phone_bind.js
  2. 6 2
      src/web/staticres/me/js/phone_bind.js

+ 6 - 2
src/jfw/modules/app/src/web/staticres/jyapp/me/js/phone_bind.js

@@ -271,7 +271,9 @@ var vm = new Vue({
             var data = {
                 phone: _this.info.phone,
                 code: _this.info.picCode,
-                step: 1
+                step: 1,
+                from: getParam('from'),
+                activity: getParam('activity')
             }
             this.trackClick('绑定-发送验证码')
             $.ajax({
@@ -354,7 +356,9 @@ var vm = new Vue({
                 phone: this.info.phone,
                 code: this.info.code,
                 step: 2,
-                email: this.info.email
+                email: this.info.email,
+                from: getParam('from'),
+                activity: getParam('activity')
             }
 
             if (this.mode === 'mergeBind') {

+ 6 - 2
src/web/staticres/me/js/phone_bind.js

@@ -237,7 +237,9 @@ var vm = new Vue({
             var data = {
                 phone: _this.info.phone,
                 code: _this.info.picCode,
-                step: 1
+                step: 1,
+                from: getParam('from'),
+                activity: getParam('activity')
             }
             this.trackClick('绑定-发送验证码')
             $.ajax({
@@ -320,7 +322,9 @@ var vm = new Vue({
                 phone: this.info.phone,
                 code: this.info.code,
                 step: 2,
-                email: this.info.email
+                email: this.info.email,
+                from: getParam('from'),
+                activity: getParam('activity')
             }
 
             if (this.mode === 'mergeBind') {