修改alchemypay的开始购买方法

This commit is contained in:
CounterFire2023 2023-08-04 10:48:35 +08:00
parent 6bc467970b
commit 37bb87c0ad
2 changed files with 22 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -247,7 +247,21 @@ function mintNFT(funId, address, tokenIds, startTime, saltNonce, signature, esti
* accountId: account id of game user * accountId: account id of game user
* orderId: from pre pay * orderId: from pre pay
*/ */
function beginPay(funId, crypto, address, fiat, fiatAmount, payWayCode, country, accountId, orderId) { function beginPay(
funId,
network,
crypto,
address,
fiat,
fiatAmount,
payWayCode,
country,
accountId,
orderId,
timestamp,
salt,
sign
) {
promiseCb( promiseCb(
funId, funId,
jc.wallet.paySvr.alchemyPrePay({ jc.wallet.paySvr.alchemyPrePay({
@ -259,6 +273,10 @@ function beginPay(funId, crypto, address, fiat, fiatAmount, payWayCode, country,
country, country,
accountId, accountId,
orderId, orderId,
network,
timestamp,
salt,
sign,
}) })
); );
} }