Преглед на файлове

点击进入游戏权限校验修改

tags/2.2.9
海洋之声 преди 6 години
родител
ревизия
7a7b800b61
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. +1
    -1
      pages/index/index.js
  2. +1
    -1
      pages/phoneinput/phoneinput.js

+ 1
- 1
pages/index/index.js Целия файл

@@ -59,7 +59,7 @@ Page({
} else if (err.code == 11006) { } else if (err.code == 11006) {
// 用户手机已加密 // 用户手机已加密
wx.redirectTo({ wx.redirectTo({
url: "/pages/phoneinput/phoneinput?path=index"
url: "/pages/phoneinput/phoneinput?path=index&url=" + that.data.staticGamedata.url + "&id=" + that.data.staticGamedata.id + "&gameId=" + that.data.staticGamedata.gameId,
}); });
} else { } else {
wx.showToast({ wx.showToast({


+ 1
- 1
pages/phoneinput/phoneinput.js Целия файл

@@ -47,7 +47,7 @@ Page({
} }
}) })
.then(res => { .then(res => {
if(that.path!=null){
if (that.path != 'index'){
wx.redirectTo({ wx.redirectTo({
url: "/pages/game/index?url=" + that.data.paramData.url + "&id=" + that.data.paramData.id + "&gameId=" + that.data.paramData.gameId, url: "/pages/game/index?url=" + that.data.paramData.url + "&id=" + that.data.paramData.id + "&gameId=" + that.data.paramData.gameId,
}) })


Зареждане…
Отказ
Запис