From 189b5990eb8f688b596208c6aa3cb7b5a8fee765 Mon Sep 17 00:00:00 2001 From: Sum1Dream <418471657@qq.com> Date: Wed, 20 Jul 2022 14:10:52 +0800 Subject: [PATCH] no message --- .../bweb/controller/OutRechargePriceController.java | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/hai-bweb/src/main/java/com/bweb/controller/OutRechargePriceController.java b/hai-bweb/src/main/java/com/bweb/controller/OutRechargePriceController.java index 2a5f316d..94b8cf56 100644 --- a/hai-bweb/src/main/java/com/bweb/controller/OutRechargePriceController.java +++ b/hai-bweb/src/main/java/com/bweb/controller/OutRechargePriceController.java @@ -323,9 +323,20 @@ public class OutRechargePriceController { map.put("sourceId" , id); map.put("rechargePlatform" , dictionary.getCodeValue()); BsRechargeCode rechargeCode = bsRechargeCodeService.findByMap(map); + + if (rechargeCode != null) { + object.put("id" , rechargeCode.getId()); + object.put("rechargePlatformName" , dictionary.getCodeName()); + object.put("rechargePlatform" , rechargeCode.getRechargePlatform()); + object.put("goodsId" , rechargeCode.getGoodsId()); + + objectList.add(object); + } + + } - return ResponseMsgUtil.success(RechargeConfig.getProductsListByLy()); + return ResponseMsgUtil.success(objectList); } catch (Exception e) { log.error("HighOrderController --> unionStagingPay() error!", e);