generated from root/miduo_server
bug
parent
53135ef72f
commit
818b415257
|
|
@ -116,6 +116,7 @@ public class KTGameRechargeController {
|
||||||
LOGGER.info("callback==>userAddress={} openId={} uid={}", userAddress, openid, cUserInfo.getId());
|
LOGGER.info("callback==>userAddress={} openId={} uid={}", userAddress, openid, cUserInfo.getId());
|
||||||
return "FAIL";
|
return "FAIL";
|
||||||
}
|
}
|
||||||
|
// gameExtArr: userid_goodsid_ccid_platform
|
||||||
String[] gameExtArr = gameExt.split("_");
|
String[] gameExtArr = gameExt.split("_");
|
||||||
DateFormat dateTimeformat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
DateFormat dateTimeformat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
||||||
String date = dateTimeformat.format(new Date());
|
String date = dateTimeformat.format(new Date());
|
||||||
|
|
@ -138,7 +139,7 @@ public class KTGameRechargeController {
|
||||||
String serviceKey = JsonUtil.getServiceKey(ServiceKey.RPCCore, ip, port);
|
String serviceKey = JsonUtil.getServiceKey(ServiceKey.RPCCore, ip, port);
|
||||||
try {
|
try {
|
||||||
rPCClient = ClientAdapterPo.getClientAdapterPo(serviceKey);
|
rPCClient = ClientAdapterPo.getClientAdapterPo(serviceKey);
|
||||||
result = rPCClient.getClient().deliveryRecharge(cUserInfo.getId(), gameExtArr[0], openid, myOrderNo, Long.parseLong(tm) * 1000, (int) (Float.parseFloat(amt) * 100));
|
result = rPCClient.getClient().deliveryRecharge(cUserInfo.getId(), gameExtArr[1], openid, myOrderNo, Long.parseLong(tm) * 1000, (int) (Float.parseFloat(amt) * 100));
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
LOGGER.info("callback=>", e);
|
LOGGER.info("callback=>", e);
|
||||||
return "FAIL";
|
return "FAIL";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue