diff --git a/assets/Script/module/Tool/GameTool.ts b/assets/Script/module/Tool/GameTool.ts index 3511cc3..df269ff 100644 --- a/assets/Script/module/Tool/GameTool.ts +++ b/assets/Script/module/Tool/GameTool.ts @@ -837,7 +837,7 @@ var GameTool = { price = 12800; MiniGameSdk.API.showToast("充值成功,获得32000金币"); break; - case "gold_pack_5": + case "gold_5": cc.fx.GameTool.changeCoin(100000); coin = 100000; price = 32800; diff --git a/assets/shop/script/shop.ts b/assets/shop/script/shop.ts index 79c304c..65208f4 100644 --- a/assets/shop/script/shop.ts +++ b/assets/shop/script/shop.ts @@ -35,7 +35,7 @@ export default class NewClass extends cc.Component { { product_id: "gold_2", name: "金币包2", price: 3600, coin:8000, title: "" }, { product_id: "gold_3", name: "金币包3", price: 6800, coin:16000, title: "" }, { product_id: "gold_4", name: "金币包4", price: 12800, coin:32000, title: "" }, - { product_id: "gold_pack_5", name: "金币包5", price: 32800, coin:100000, title: "" }, + { product_id: "gold_5", name: "金币包5", price: 32800, coin:100000, title: "" }, { product_id: "gold_6", name: "金币包6", price: 64800, coin:240000, title: "" }, ]; for (let i = 1; i <= 6 && i < this.itemList.children.length; i++) { @@ -97,8 +97,8 @@ export default class NewClass extends cc.Component { case "gold_4": price = 12800; break; - case "gold_pack_5": - price = 100; + case "gold_5": + price = 32800; break; case "gold_6": price = 64800;