fix pay
This commit is contained in:
parent
c695388208
commit
ba2c49868f
@ -244,7 +244,7 @@ export class PayFun {
|
|||||||
let prizePayId = `zuanshi_${conf.money}`
|
let prizePayId = `zuanshi_${conf.money}`
|
||||||
payArgs.toPrizePayId = prizePayId
|
payArgs.toPrizePayId = prizePayId
|
||||||
conf = this.replacePrizeToChongzhi(prizePayId, conf)
|
conf = this.replacePrizeToChongzhi(prizePayId, conf)
|
||||||
prize = [...conf.prize]
|
prize = conf.prize;
|
||||||
}
|
}
|
||||||
|
|
||||||
await PlayerFun.sendPrize(call, prize);
|
await PlayerFun.sendPrize(call, prize);
|
||||||
@ -292,7 +292,7 @@ export class PayFun {
|
|||||||
* @param payId
|
* @param payId
|
||||||
* @param conf
|
* @param conf
|
||||||
*/
|
*/
|
||||||
static async replacePrizeToChongzhi(payId, conf) {
|
static replacePrizeToChongzhi(payId, conf) {
|
||||||
return {
|
return {
|
||||||
id: payId,
|
id: payId,
|
||||||
money: conf.money,
|
money: conf.money,
|
||||||
|
Loading…
Reference in New Issue
Block a user