|
|
@ -512,7 +512,7 @@ public class HighCouponAgentServiceImpl implements HighCouponAgentService { |
|
|
|
highCouponAgentCodeMapper.updateByPrimaryKey(convertCode); |
|
|
|
highCouponAgentCodeMapper.updateByPrimaryKey(convertCode); |
|
|
|
|
|
|
|
|
|
|
|
// 购买卡券
|
|
|
|
// 购买卡券
|
|
|
|
JSONObject returnParam = HuiLianTongConfig.costRechargeOrder(convertCode.getExt2()); |
|
|
|
JSONObject returnParam = HuiLianTongConfig.costRechargeOrder(convertCode.getExt1()); |
|
|
|
if (returnParam != null && returnParam.getString("respCode").equals("0000")) { |
|
|
|
if (returnParam != null && returnParam.getString("respCode").equals("0000")) { |
|
|
|
// 解密
|
|
|
|
// 解密
|
|
|
|
JSONObject jsonObject = HuiLianTongUnionCardConfig.resolveResponse(returnParam.getString("data")); |
|
|
|
JSONObject jsonObject = HuiLianTongUnionCardConfig.resolveResponse(returnParam.getString("data")); |
|
|
@ -619,7 +619,7 @@ public class HighCouponAgentServiceImpl implements HighCouponAgentService { |
|
|
|
highCouponAgentCodeMapper.updateByPrimaryKey(convertCode); |
|
|
|
highCouponAgentCodeMapper.updateByPrimaryKey(convertCode); |
|
|
|
|
|
|
|
|
|
|
|
// 购买卡券
|
|
|
|
// 购买卡券
|
|
|
|
JSONObject returnParam = HuiLianTongConfig.costRechargeOrder(convertCode.getExt2()); |
|
|
|
JSONObject returnParam = HuiLianTongConfig.costRechargeOrder(convertCode.getExt1()); |
|
|
|
if (returnParam != null && returnParam.getString("respCode").equals("0000")) { |
|
|
|
if (returnParam != null && returnParam.getString("respCode").equals("0000")) { |
|
|
|
// 解密
|
|
|
|
// 解密
|
|
|
|
JSONObject jsonObject = HuiLianTongUnionCardConfig.resolveResponse(returnParam.getString("data")); |
|
|
|
JSONObject jsonObject = HuiLianTongUnionCardConfig.resolveResponse(returnParam.getString("data")); |
|
|
|