back_recharge
wangyuan 2019-09-18 17:22:31 +08:00
parent 54a3e50ae6
commit 474180788b
1 changed files with 3 additions and 2 deletions

View File

@ -215,7 +215,8 @@ public class BuyGoodsLogic {
resultRes.setResultCode(1);
KtEventUtils.onKtEvent(user, ParamEventBean.UserPayEvent,goodsId,orderId,resultRes.getResultCode(),price);
notifyPaySuccessFul(uid,goodsId,amount != -999);
Class<? extends MongoUpdateCache> aClass = MongoUpdateCacheThreadLocal.getMongoUpdateCache().getClass();
MongoUtil.getLjsdMongoTemplate().lastUpdate();
/*Class<? extends MongoUpdateCache> aClass = MongoUpdateCacheThreadLocal.getMongoUpdateCache().getClass();
Field requestMap = aClass.getDeclaredField("requestMap");
requestMap.setAccessible(true);
requestMap.set(MongoUpdateCacheThreadLocal.getMongoUpdateCache(), new HashMap<>());
@ -228,7 +229,7 @@ public class BuyGoodsLogic {
};
ProtocolsManager instance = ProtocolsManager.getInstance();
HandlerLogicThread handlerThread = instance.handlerThreads[user.getId() % instance.HANDLER_THREAD_NUM];
handlerThread.addAyyncWorker(ayyncWorker);
handlerThread.addAyyncWorker(ayyncWorker);*/
return resultRes;
}