long转int

master
mengchengzhen 2021-06-29 10:21:00 +08:00
parent ab4426b3fa
commit 468a3cebad
1 changed files with 2 additions and 1 deletions

View File

@ -139,7 +139,8 @@ public class QuickRechargeController {
LOGGER.info("serviceKey : " + serviceKey);
try {
rPCClient = ClientAdapterPo.getClientAdapterPo(serviceKey);
result = rPCClient.getClient().deliveryRecharge(cUserInfo.getId(), goodid, uid, orderNo, 0, Integer.parseInt(amount));
long amlong = Long.parseLong(amount);
result = rPCClient.getClient().deliveryRecharge(cUserInfo.getId(), goodid, uid, orderNo, 0, (int)amlong);
} catch (Exception e) {
LOGGER.info("callback=>", e);
} finally {