From 7137fec396211d0b96a8eb6f65167a211db243b9 Mon Sep 17 00:00:00 2001 From: Sum1Dream <418471657@qq.com> Date: Thu, 2 Feb 2023 17:28:05 +0800 Subject: [PATCH] Merge branch 'master' into 2.0-dev MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * master: 修改配置星巴克 肯德基 会员充值 话费 微信商户号 修改配置星巴克 肯德基 会员充值 话费 微信商户号 # Conflicts: # hai-cweb/src/main/java/com/cweb/controller/pay/CzOrderController.java # hai-cweb/src/main/java/com/cweb/controller/pay/ThirdOrderController.java --- .../com/hai/service/impl/OutRechargeOrderServiceImpl.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/hai-service/src/main/java/com/hai/service/impl/OutRechargeOrderServiceImpl.java b/hai-service/src/main/java/com/hai/service/impl/OutRechargeOrderServiceImpl.java index de5cae8e..fd3292ef 100644 --- a/hai-service/src/main/java/com/hai/service/impl/OutRechargeOrderServiceImpl.java +++ b/hai-service/src/main/java/com/hai/service/impl/OutRechargeOrderServiceImpl.java @@ -194,7 +194,6 @@ public class OutRechargeOrderServiceImpl implements OutRechargeOrderService { } @Override - @Cached(cacheType = CacheType.REMOTE,name="mobile:", key = "#orderNo",expire = 3600*24*30) public OutRechargeOrder findByOrderNo(String orderNo) { OutRechargeOrderExample example = new OutRechargeOrderExample(); @@ -933,7 +932,6 @@ public class OutRechargeOrderServiceImpl implements OutRechargeOrderService { for (String s : rechargePlatform) { // 尖椒充值 - System.out.println("话费定时任务 -> 需要重新充值:尖椒开始"); if (s.equals("1") && type == 1) { object.put("out_order_id", orderNo); object.put("amount", outRechargePrice.getRechargePrice()); @@ -955,14 +953,13 @@ public class OutRechargeOrderServiceImpl implements OutRechargeOrderService { map.put("sourceId" , outRechargePrice.getId()); map.put("rechargePlatform" , type); BsRechargeCode rechargeCode = rechargeCodeService.findByMap(map); - System.out.println("话费定时任务 -> 需要重新充值:龙阅开始"); object.put("out_trade_num", orderNo); object.put("product_id", rechargeCode.getGoodsId()); object.put("mobile", outRechargeOrder.getRechargeContent()); object.put("notifyUrl", CommonSysConst.getSysConfig().getLyNotifyUrl()); JSONObject returnObject = RechargeConfig.rechargeOrderByLy(object); object.put("return_content", returnObject); - if (returnObject != null && returnObject.getLong("errno") == 0) { + if (returnObject.getLong("errno") == 0) { childOrder.setStatus(102); } else { childOrder.setStatus(103); @@ -976,8 +973,6 @@ public class OutRechargeOrderServiceImpl implements OutRechargeOrderService { map.put("sourceId" , outRechargePrice.getId()); map.put("rechargePlatform" , type); BsRechargeCode rechargeCode = rechargeCodeService.findByMap(map); - - System.out.println("话费定时任务 -> 需要重新充值:龙阅开始"); object.put("agentOrderId", orderNo); object.put("productId", rechargeCode.getGoodsId()); object.put("mobile", outRechargeOrder.getRechargeContent());