|
@@ -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 {
|