xiongzhu 3 лет назад
Родитель
Сommit
8518f51297
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/java/com/izouma/nineth/service/OrderService.java

+ 1 - 1
src/main/java/com/izouma/nineth/service/OrderService.java

@@ -394,7 +394,7 @@ public class OrderService {
         paymentParams.put("goods_desc", collection.getName());
         paymentParams.put("time_expire", DateTimeFormatter.ofPattern("yyyyMMddHHmmss")
                 .format(LocalDateTime.now().plusMinutes(3)));
-        paymentParams.put("notify_url", adapayProperties.getNotifyUrl() + "/order/" + order.getId());
+        paymentParams.put("notify_url", adapayProperties.getNotifyUrl() + "/order/" + adapayProperties.getMerchant() + "/" + order.getId());
 
         List<Map<String, Object>> divMembers = new ArrayList<>();
         BigDecimal totalAmount = order.getTotalPrice().subtract(order.getGasPrice());