最新支付改动

This commit is contained in:
COMPUTER\EDY 2026-07-21 11:07:36 +08:00
parent ae2a1feccb
commit 854e8082d4
8 changed files with 12 additions and 12 deletions

View File

@ -254,8 +254,8 @@ export default class Revive extends cc.Component {
} }
else if (res.err) { else if (res.err) {
console.log("错误原因:", res.errMsg); console.log("错误原因:", res.errMsg);
if (res.errMsg && res.errMsg.indexOf("fail App Store") !== -1) { if (res.errCode == 16) {
console.log("走ios旧支付"); // console.log("走ios旧支付");
this.iosOldPay(price, productId); this.iosOldPay(price, productId);
return; return;
} }

View File

@ -305,7 +305,7 @@ export class GameConfig {
vibrateOpen: true, //震动 vibrateOpen: true, //震动
coinnum: 0, //每局的金币数 coinnum: 0, //每局的金币数
paid_user: false, //是否是付费用户 paid_user: false, //是否是付费用户
version: "1.0.15", //版本号 version: "1.0.16", //版本号
shushu_DistinctId: "", //数数访客ID shushu_DistinctId: "", //数数访客ID
shushu_AccountId: "", //数数账号ID shushu_AccountId: "", //数数账号ID
uid: "", //用户和后端唯一id uid: "", //用户和后端唯一id

View File

@ -339,8 +339,8 @@ export default class NewClass extends cc.Component {
} }
else if (res.err) { else if (res.err) {
console.log("错误原因:", res.errMsg); console.log("错误原因:", res.errMsg);
if (res.errMsg && res.errMsg.indexOf("fail App Store") !== -1) { if (res.errCode == 16) {
console.log("走ios旧支付"); // console.log("走ios旧支付");
this.iosOldPay(price, productId); this.iosOldPay(price, productId);
return; return;
} }

View File

@ -210,7 +210,7 @@ export default class ranking extends cc.Component {
Utils.getRank((data) => { Utils.getRank((data) => {
this.closeLoad(); this.closeLoad();
if (data.code == 1) { if (data.code == 1) {
// console.log("获取排行榜数据", data.data.rank); console.log("获取排行榜数据", data.data.rank);
this.wordRank = data.data.rank; this.wordRank = data.data.rank;
this.rankNumber = data.data.index; this.rankNumber = data.data.index;
for (let i = 0; i < this.wordRank.length; i++) { for (let i = 0; i < this.wordRank.length; i++) {

View File

@ -392,8 +392,8 @@ export default class NewbieGift extends cc.Component {
} }
else if (res.err) { else if (res.err) {
console.log("错误原因:", res.errMsg); console.log("错误原因:", res.errMsg);
if (res.errMsg && res.errMsg.indexOf("fail App Store") !== -1) { if (res.errCode == 16) {
console.log("走ios旧支付"); // console.log("走ios旧支付");
this.iosOldPay(price, productId); this.iosOldPay(price, productId);
return; return;
} }

View File

@ -598,7 +598,7 @@ export default class passCheck extends cc.Component {
} }
else if (res.err) { else if (res.err) {
console.log("错误原因:", res.errMsg); console.log("错误原因:", res.errMsg);
if (res.errMsg && res.errMsg.indexOf("fail App Store") !== -1) { if (res.errCode == 16) {
console.log("走ios旧支付"); console.log("走ios旧支付");
this.iosOldPay(price, productId); this.iosOldPay(price, productId);
return; return;

View File

@ -627,8 +627,8 @@ export default class NewClass extends cc.Component {
} }
else if (res.err) { else if (res.err) {
console.log("错误原因:", res.errMsg); console.log("错误原因:", res.errMsg);
if (res.errMsg && res.errMsg.indexOf("fail App Store") !== -1) { if (res.errCode == 16) {
console.log("走ios旧支付"); // console.log("走ios旧支付");
this.iosOldPay(price, productId); this.iosOldPay(price, productId);
return; return;
} }

View File

@ -1,5 +1,5 @@
{ {
"last-module-event-record-time": 1783050474163, "last-module-event-record-time": 1784278190218,
"group-list": [ "group-list": [
"default", "default",
"Map" "Map"