BusinessConfig.java 637 Bytes
package com.infoloop.tianting.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "business-config")
@Data
@PropertySource(encoding = "UTF-8", value = "classpath:application.properties", ignoreResourceNotFound = true)
public class BusinessConfig {

    private String hisCustomerQueryUrl;
    private String clientCustomerQueryUrl;
    private String payUrl;
    private String payClientId;
    private String cancelPayUrl;
}