后台-官方赠送金币-调整金币与美元比例

This commit is contained in:
khalil
2024-09-04 22:30:54 +08:00
parent 65cf443cb4
commit a62f2a5eca

View File

@@ -332,15 +332,8 @@ export default {
$("#tipModal").modal('show');
return;
}
var minGold = parseInt(actualAmount * 800);
var maxGold = parseInt(actualAmount * 1200);
var actualGold = parseInt(num);
if (actualGold < minGold || actualGold > maxGold) {
$("#tipMsg").text("赠送金币与充值金额兑换比例不正确!");
$("#tipModal").modal('show');
return;
}
if (actualGold != parseInt(actualAmount * 1000)) {
const actualGold = parseInt(num);
if (actualGold != parseInt(actualAmount * 7000)) {
$("#tipMsg").text("赠送金币与充值金额兑换比例不正确!");
$("#tipModal").modal('show');
return;