|
|
@ -8,6 +8,7 @@ import moment from 'moment' |
|
|
|
import Cookies from 'js-cookie'; |
|
|
|
// 定义 fixedAdminId |
|
|
|
// const fixedAdminId = 1; |
|
|
|
import Decimal from 'decimal.js'; |
|
|
|
|
|
|
|
// 精网号去空格 |
|
|
|
const trimJwCode = () => { |
|
|
@ -93,7 +94,9 @@ const add = async function () { |
|
|
|
formattedRecharge.freeGold = Number(formattedRecharge.freeGold) * 100; |
|
|
|
} |
|
|
|
if (formattedRecharge.money) { |
|
|
|
formattedRecharge.money = Number(formattedRecharge.money) * 100; |
|
|
|
formattedRecharge.money = new Decimal(formattedRecharge.money).mul(100).toNumber(); |
|
|
|
|
|
|
|
// formattedRecharge.money = Number(formattedRecharge.money) * 100; |
|
|
|
} |
|
|
|
|
|
|
|
if (formattedRecharge.payTime) { |
|
|
|