소스 검색

去除默认邀请码

vtnttrx 1 년 전
부모
커밋
fa2f3b1279
6개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  1. 1 1
      src/App.vue
  2. 1 1
      src/pages/my/index.vue
  3. 1 1
      src/pages/my/wxLogin.vue
  4. 1 1
      src/pages/product/p_details.vue
  5. 1 1
      src/pages/szw-order-list/index.vue
  6. 1 1
      src/pagesC/settledMerchant/merchant.vue

+ 1 - 1
src/App.vue

@@ -93,7 +93,7 @@ export default {
                     if (res.code) {
                         post("v1/appletLogin", {
                             code: res.code,
-                            invite: uni.getStorageSync("inviteCode") || "XHCYGNZM",
+                            invite: uni.getStorageSync("inviteCode") || "",
                         }).then((res) => {
                             if (res.code === 0) {
                                 if (res.data.token) {

+ 1 - 1
src/pages/my/index.vue

@@ -289,7 +289,7 @@ export default {
     },
     onLoad(options) {
         //推荐人邀请码|受邀码
-        this.invited = uni.getStorageSync("inviteCode") || "XHCYGNZM"
+        this.invited = uni.getStorageSync("inviteCode") || ""
         this.closeAuto(); //关闭实名功能
     },
     onShow() {

+ 1 - 1
src/pages/my/wxLogin.vue

@@ -63,7 +63,7 @@ export default {
                     if (res.code) {
                         post("v1/appletLogin", {
                             code: res.code,
-                            invite: uni.getStorageSync("inviteCode") || "XHCYGNZM",
+                            invite: uni.getStorageSync("inviteCode") || "",
                         }).then((res) => {
                             if (res.code === 0) {
                                 if (res.data.token) {

+ 1 - 1
src/pages/product/p_details.vue

@@ -347,7 +347,7 @@ export default {
                     if (res.code) {
                         post("v1/appletLogin", {
                             code: res.code,
-                            invite: uni.getStorageSync("inviteCode") || "XHCYGNZM"
+                            invite: uni.getStorageSync("inviteCode") || ""
                         }).then((res) => {
                             if (res.code === 0) {
                                 if (res.data.token) {

+ 1 - 1
src/pages/szw-order-list/index.vue

@@ -103,7 +103,7 @@ export default {
                     if (res.code) {
                         post("v1/appletLogin", {
                             code: res.code,
-                            invite: uni.getStorageSync("inviteCode") || "XHCYGNZM",
+                            invite: uni.getStorageSync("inviteCode") || "",
                         }).then((res) => {
                             if (res.code === 0) {
                                 if (res.data.token) {

+ 1 - 1
src/pagesC/settledMerchant/merchant.vue

@@ -126,7 +126,7 @@ export default {
                     if (res.code) {
                         post("v1/appletLogin", {
                             code: res.code,
-                            invite: uni.getStorageSync("inviteCode") || "XHCYGNZM"
+                            invite: uni.getStorageSync("inviteCode") || ""
                         }).then((res) => {
                             if (res.code === 0) {
                                 if (res.data.token) {