1
This commit is contained in:
parent
145d173f5c
commit
073fdb018d
@ -16,15 +16,19 @@ class ItemSoldOut extends BaseEventProcess {
|
|||||||
|
|
||||||
async start() {
|
async start() {
|
||||||
const returnValues = this.getReturnValues();
|
const returnValues = this.getReturnValues();
|
||||||
const transId = returnValues['orderId'];
|
const buyer = returnValues['buyer'];
|
||||||
const orderId = returnValues['orderId'];
|
const orderId = returnValues['orderId'];
|
||||||
|
const currency = returnValues['currency'];
|
||||||
|
const price = returnValues['price'];
|
||||||
|
|
||||||
const params = {
|
const params = {
|
||||||
'c': 'Callback',
|
'c': 'Callback',
|
||||||
'a': 'dispatch',
|
'a': 'dispatch',
|
||||||
'action': 'gameItemMarketBuyOk',
|
'action': 'gameItemMarketBuyOk',
|
||||||
'trans_id': transId,
|
'buyer': buyer,
|
||||||
'order_id': orderId,
|
'order_id': orderId,
|
||||||
|
'currency': currency,
|
||||||
|
'price': price
|
||||||
};
|
};
|
||||||
await this.callGameApi
|
await this.callGameApi
|
||||||
(params,
|
(params,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user