From e9e42b621afdf6ac94f5327ee843b32b10a401b4 Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期二, 04 八月 2026 17:45:14 +0800
Subject: [PATCH] update
---
backend/src/main/java/com/tourguide/common/huifu/properties/HuiFuProperties.java | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/backend/src/main/java/com/tourguide/common/huifu/properties/HuiFuProperties.java b/backend/src/main/java/com/tourguide/common/huifu/properties/HuiFuProperties.java
index 5ccdb57..dc89854 100644
--- a/backend/src/main/java/com/tourguide/common/huifu/properties/HuiFuProperties.java
+++ b/backend/src/main/java/com/tourguide/common/huifu/properties/HuiFuProperties.java
@@ -1,14 +1,12 @@
package com.tourguide.common.huifu.properties;
import org.springframework.boot.context.properties.ConfigurationProperties;
-import org.springframework.stereotype.Component;
/**
* 斗拱商户配置。
*
* 备注:所有敏感值都从环境变量或配置中心注入,禁止在源码中写真实商户号、私钥或公钥。
*/
-@Component
@ConfigurationProperties(prefix = "huifu")
public class HuiFuProperties {
/**
@@ -39,6 +37,8 @@
* 对外可访问的回调根地址。
*/
private String callbackPath;
+ /** 聚合支付创建接口地址。 */
+ private String paymentCreateUrl = "https://api.huifu.com/v4/trade/payment/create";
public String getProductId() { return productId; }
public void setProductId(String productId) { this.productId = productId; }
@@ -54,4 +54,6 @@
public void setUpperHuifuId(String upperHuifuId) { this.upperHuifuId = upperHuifuId; }
public String getCallbackPath() { return callbackPath; }
public void setCallbackPath(String callbackPath) { this.callbackPath = callbackPath; }
+ public String getPaymentCreateUrl() { return paymentCreateUrl; }
+ public void setPaymentCreateUrl(String paymentCreateUrl) { this.paymentCreateUrl = paymentCreateUrl; }
}
--
Gitblit v1.7.1