generated from root/miduo_server
double转int
parent
31018fc7ee
commit
1a8d0a1cc1
|
@ -139,10 +139,8 @@ public class QuickRechargeController {
|
|||
LOGGER.info("serviceKey : " + serviceKey);
|
||||
try {
|
||||
rPCClient = ClientAdapterPo.getClientAdapterPo(serviceKey);
|
||||
long amlong = Long.parseLong(amount);
|
||||
int amint = (int)amlong;
|
||||
LOGGER.info("amount:{}",amint);
|
||||
result = rPCClient.getClient().deliveryRecharge(cUserInfo.getId(), goodid, uid, orderNo, 0, amint);
|
||||
double amdouble = Double.parseDouble(amount);
|
||||
result = rPCClient.getClient().deliveryRecharge(cUserInfo.getId(), goodid, uid, orderNo, 0, (int)amdouble);
|
||||
} catch (Exception e) {
|
||||
LOGGER.info("callback=>", e);
|
||||
} finally {
|
||||
|
|
Loading…
Reference in New Issue