后台-官方赠送金币-调整金币与美元比例
This commit is contained in:
@@ -332,15 +332,8 @@ export default {
|
|||||||
$("#tipModal").modal('show');
|
$("#tipModal").modal('show');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var minGold = parseInt(actualAmount * 800);
|
const actualGold = parseInt(num);
|
||||||
var maxGold = parseInt(actualAmount * 1200);
|
if (actualGold != parseInt(actualAmount * 7000)) {
|
||||||
var actualGold = parseInt(num);
|
|
||||||
if (actualGold < minGold || actualGold > maxGold) {
|
|
||||||
$("#tipMsg").text("赠送金币与充值金额兑换比例不正确!");
|
|
||||||
$("#tipModal").modal('show');
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (actualGold != parseInt(actualAmount * 1000)) {
|
|
||||||
$("#tipMsg").text("赠送金币与充值金额兑换比例不正确!");
|
$("#tipMsg").text("赠送金币与充值金额兑换比例不正确!");
|
||||||
$("#tipModal").modal('show');
|
$("#tipModal").modal('show');
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user