mirror of
https://github.com/dromara/payment-spring-boot.git
synced 2026-03-14 05:43:46 +08:00
多租户
This commit is contained in:
@@ -14,7 +14,6 @@ import java.util.Map;
|
|||||||
* The type Wechat pay configuration.
|
* The type Wechat pay configuration.
|
||||||
*/
|
*/
|
||||||
@Configuration
|
@Configuration
|
||||||
@ConditionalOnProperty(prefix = "wechat.pay", name = "v3.app-id")
|
|
||||||
@EnableConfigurationProperties(WechatPayProperties.class)
|
@EnableConfigurationProperties(WechatPayProperties.class)
|
||||||
public class WechatPayConfiguration {
|
public class WechatPayConfiguration {
|
||||||
private static final String CERT_ALIAS = "Tenpay Certificate";
|
private static final String CERT_ALIAS = "Tenpay Certificate";
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import lombok.Data;
|
|||||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||||
import org.springframework.boot.context.properties.NestedConfigurationProperty;
|
import org.springframework.boot.context.properties.NestedConfigurationProperty;
|
||||||
|
|
||||||
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -15,8 +16,7 @@ public class WechatPayProperties {
|
|||||||
/**
|
/**
|
||||||
* wechat pay V3 properties
|
* wechat pay V3 properties
|
||||||
*/
|
*/
|
||||||
@NestedConfigurationProperty
|
private Map<String,V3> v3 =new HashMap<>();
|
||||||
private Map<String,V3> v3;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* wechat pay v3 properties.
|
* wechat pay v3 properties.
|
||||||
|
|||||||
Reference in New Issue
Block a user