This commit is contained in:
aozhiwei 2023-08-08 10:41:13 +08:00
parent 145d173f5c
commit 073fdb018d

View File

@ -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,