From 1c0b9a3d598883f5da778c999863ebeac17a701a Mon Sep 17 00:00:00 2001 From: hurui <177768073@qq.com> Date: Mon, 22 Aug 2022 22:24:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/hai/service/impl/HighOrderServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hai-service/src/main/java/com/hai/service/impl/HighOrderServiceImpl.java b/hai-service/src/main/java/com/hai/service/impl/HighOrderServiceImpl.java index 1f260067..60a91e61 100644 --- a/hai-service/src/main/java/com/hai/service/impl/HighOrderServiceImpl.java +++ b/hai-service/src/main/java/com/hai/service/impl/HighOrderServiceImpl.java @@ -210,8 +210,9 @@ public class HighOrderServiceImpl implements HighOrderService { } if (couponDetail.getCouponSource().equals(4)) { + String code = String.valueOf(new Random().nextInt(899999) + 100000); // 下单请求 - JSONObject jsonObject = HuiLianTongConfig.recharge(System.currentTimeMillis()+"", + JSONObject jsonObject = HuiLianTongConfig.recharge(highOrder.getOrderNo() + "_"+code, childOrder.getSaleCount(), couponDetail.getCouponKey(), highOrder.getMemPhone());