充值:充值金额
This commit is contained in:
@@ -17,6 +17,8 @@ import { makeSelfServerShop } from './activity/selfServiceShopActivityService';
|
||||
import { makeRefreshShopReward } from './activity/refreshShopService';
|
||||
import { ActivityMonopolyModel, ActivityMonopolyModelType } from '../db/ActivityMonopoly';
|
||||
import { ActivityMonopolyLandModel, ActivityMonopolyLandModelType } from '../db/ActivityMonopolyLand';
|
||||
import { pinus } from 'pinus';
|
||||
import { resResult } from '../pubUtils/util';
|
||||
|
||||
|
||||
|
||||
@@ -137,5 +139,9 @@ export async function makeOrder(localOrderID: string, sid: string, orderInfo: Us
|
||||
rewardResult = STATUS.ERROR_TYPE;
|
||||
break;
|
||||
}
|
||||
pinus.app.get('channelService').pushMessageByUids('onPlayerDataChange', resResult(STATUS.SUCCESS, {
|
||||
totalPay: roleInfo.totalPay
|
||||
}), [{ uid: roleId, sid }]);
|
||||
|
||||
return rewardResult
|
||||
}
|
||||
@@ -36,7 +36,8 @@ module.exports = {
|
||||
'optional uInt32 coin': 1,
|
||||
'optional uInt32 giftGold': 2,
|
||||
'optional uInt32 gold': 3,
|
||||
'optional uInt32 ap': 4
|
||||
'optional uInt32 ap': 4,
|
||||
'optional uInt32 totalPay': 5
|
||||
},
|
||||
'required string msg': 1,
|
||||
'required uInt32 code': 2,
|
||||
|
||||
Reference in New Issue
Block a user