上报bug
parent
3dcfb73ec2
commit
d2a4a19be9
|
|
@ -292,7 +292,7 @@ public class MapManager extends MongoBase {
|
|||
}
|
||||
}
|
||||
if( recoveryTimes>0){
|
||||
int addValue = MathUtils.setBetweenWithMax(itemNum+recoveryTimes*recoveryItemInfo[1],0,heroTimes);
|
||||
long addValue = MathUtils.setBetweenWithMax(itemNum+recoveryTimes*recoveryItemInfo[1],0,heroTimes);
|
||||
if(addValue!=0){
|
||||
item.setItemNum(addValue);
|
||||
KtEventUtils.onKtEvent(user, ParamEventBean.UserItemEvent, BIReason.TIME_REWARD,GlobalsDef.subReason,item.getItemId(),addValue,item.getItemNum());
|
||||
|
|
|
|||
|
|
@ -99,8 +99,8 @@ public class KtEventUtils {
|
|||
int goodsId = (int) parm[0];
|
||||
String orderId = (String) parm[1];
|
||||
String payValid = payResult[(int) parm[2]];
|
||||
String amount = String.valueOf(((int) parm[3]));
|
||||
SRechargeCommodityNewConfig sRechargeCommodityConfig = SRechargeCommodityNewConfig.sdkconfigMap.get(goodsId);
|
||||
String amount = String.valueOf(((double) parm[3]));
|
||||
SRechargeCommodityNewConfig sRechargeCommodityConfig = SRechargeCommodityNewConfig.configMap.get(goodsId);
|
||||
paramEventBean.add(sRechargeCommodityConfig.getName());
|
||||
paramEventBean.add(orderId);
|
||||
paramEventBean.add(payValid);
|
||||
|
|
|
|||
Loading…
Reference in New Issue