소스 검색

fix : 客服支付新增参数返回

bilingfeng 1 년 전
부모
커밋
15787b5a88
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      game-module/game-module-sdk/src/main/java/com/zanxiang/game/module/sdk/service/impl/OrderPayServiceImpl.java

+ 5 - 0
game-module/game-module-sdk/src/main/java/com/zanxiang/game/module/sdk/service/impl/OrderPayServiceImpl.java

@@ -53,6 +53,9 @@ public class OrderPayServiceImpl implements IOrderPayService {
     @Autowired
     private IPayApplicationService payApplicationService;
 
+    @Value("${payConfig.wxPay.customH5Url}")
+    private String customH5Url;
+
     /**
      * 服务器域名
      */
@@ -162,6 +165,8 @@ public class OrderPayServiceImpl implements IOrderPayService {
             paramMap.put("path", payApplicationDTO.getPath());
             paramMap.put("orderId", product.getOrderId());
             paramMap.put("amount", product.getAmount());
+            paramMap.put("payH5Url", this.customH5Url);
+            paramMap.put("description", "购买" + product.getAmount() + "元档充值");
             if (this.serverUrl.contains("84game")) {
                 paramMap.put("serverUrl", this.serverUrl + "/sdk");
             } else {