更新,取消新手礼包错误码展示
This commit is contained in:
parent
1909d6561f
commit
e7613e9091
|
|
@ -141,7 +141,7 @@ export default class NewbieGift extends cc.Component {
|
||||||
this.iosOldPay();
|
this.iosOldPay();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.failPayment(result?.errMsg || "充值未完成");
|
this.failPayment("充值失败");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!result.outTradeNo) {
|
if (!result.outTradeNo) {
|
||||||
|
|
|
||||||
|
|
@ -165,7 +165,7 @@ export default class GachaManager extends cc.Component {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else if (res.code == 0) {
|
else if (res.code == 0) {
|
||||||
MiniGameSdk.API.showToast(res.msg);
|
// MiniGameSdk.API.showToast(res.msg);
|
||||||
cc.fx.GameTool.shushu_Track("avatar_gacha", {
|
cc.fx.GameTool.shushu_Track("avatar_gacha", {
|
||||||
pool_id: "spring",
|
pool_id: "spring",
|
||||||
pull_count: (this.own + 1),
|
pull_count: (this.own + 1),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user