元判断

master
lvxinran 2021-06-30 16:18:23 +08:00
parent df1808921a
commit 5e7c817921
1 changed files with 4 additions and 0 deletions

View File

@ -90,6 +90,10 @@ public class PayLogic {
LOGGER.info("serviceKey : " + serviceKey);
try {
rPCClient = ClientAdapterPo.getClientAdapterPo(serviceKey);
if(sdk==PaySdkEnum.QUICK){
//quick的是元
amount = String.valueOf(Double.parseDouble(amount )*100);
}
result = rPCClient.getClient().deliveryRecharge(cUserInfo.getId(), goodsId, openId, orderId, 0, (int)Double.parseDouble(amount));
} catch (Exception e) {
LOGGER.info("callback=>", e);