更新,取消新手礼包错误码展示

This commit is contained in:
COMPUTER\EDY 2026-09-11 14:36:13 +08:00
parent 1909d6561f
commit e7613e9091
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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),