From e0fc8f7e2230b51e3bbe8dea43790cf11b7170e9 Mon Sep 17 00:00:00 2001 From: luodangjia <luodangjia> Date: 星期一, 04 十一月 2024 15:39:01 +0800 Subject: [PATCH] merge --- ruoyi-service/ruoyi-payment/src/main/java/com/ruoyi/payment/wx/model/WeixinProperties.java | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/ruoyi-service/ruoyi-payment/src/main/java/com/ruoyi/payment/wx/model/WeixinProperties.java b/ruoyi-service/ruoyi-payment/src/main/java/com/ruoyi/payment/wx/model/WeixinProperties.java index 5c1960b..782690b 100644 --- a/ruoyi-service/ruoyi-payment/src/main/java/com/ruoyi/payment/wx/model/WeixinProperties.java +++ b/ruoyi-service/ruoyi-payment/src/main/java/com/ruoyi/payment/wx/model/WeixinProperties.java @@ -1,5 +1,6 @@ package com.ruoyi.payment.wx.model; +import lombok.Data; import lombok.ToString; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.boot.context.properties.NestedConfigurationProperty; @@ -12,7 +13,7 @@ */ @ToString @Component -@ConfigurationProperties(prefix = "wx.conf") +@ConfigurationProperties(prefix = "payment.wx") public class WeixinProperties { /** * 默认开启 @@ -37,6 +38,10 @@ * @return secret ID */ private String secretId; + /** + * 回调地址 + */ + private String callBackUrl; public String getSecretId() { return secretId; @@ -98,4 +103,12 @@ public void setMchId(String mchId) { this.mchId = mchId; } + + public String getCallBackUrl() { + return callBackUrl; + } + + public void setCallBackUrl(String callBackUrl) { + this.callBackUrl = callBackUrl; + } } -- Gitblit v1.7.1