‘linchangsheng’ 2 weeks ago
parent
commit
4fc084cc5c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/gree/mall/miniapp/logic/order/OrderLogic.java

+ 1 - 1
src/main/java/com/gree/mall/miniapp/logic/order/OrderLogic.java

@@ -154,7 +154,7 @@ public class OrderLogic {
         CurrentCompanyWechat currentCompanyWechat = commonLogic.getCurrentCompanyWechat(request);
         //订单
         OrderInfo orderInfo = new OrderInfo();
-        String orderId = currentCompanyWechat.getOrderPrefix() + IdWorker.getIdStr();
+        String orderId = IdWorker.getIdStr();
         orderInfo.setOrderId(orderId);
         orderInfo.setPayType((Objects.nonNull(orderBuyBean.getWechatPay()) && !orderBuyBean.getWechatPay()) ? "云闪付" : "微信支付");
         //购买人