开天上报打印参数

back_recharge
jiahuiwen 2022-02-17 18:17:55 +08:00
parent 831722996d
commit f579fbf20c
1 changed files with 3 additions and 3 deletions

View File

@ -274,8 +274,8 @@ public class BuyGoodsNewLogic {
jsonObject2.put("_transactionid", orderId);
jsonObject2.put("_paymenttype", "alipay");
jsonObject2.put("_currencytype", "CNY");
jsonObject2.put("_currencyamount", amount / 100);
jsonObject2.put("_ip", session.getChannel().getRemoteAddress());
jsonObject2.put("_currencyamount", price);
jsonObject2.put("_ip", reportBaseBean != null ? reportBaseBean.getIp() : "");
jsonObject2.put("_tz", "+8");
jsonObject2.put("_ryos", "Android");
jsonObject2.put("_imei", reportBaseBean != null ? reportBaseBean.getDevice_id() : "");
@ -285,7 +285,7 @@ public class BuyGoodsNewLogic {
jsonObject.put("context", jsonObject2);
String result = HttpPool.doPost(DataMessageUtils.restURL, jsonObject);
LOGGER.info("onChargeSuccess uid={} REST付费上报={} money={}", user.getId(), result, amount);
LOGGER.info("onChargeSuccess uid={} REST付费上报={} 参数={}", user.getId(), result, jsonObject.toJSONString());
}
}