吴学文
2019-07-09 2ce35cb8d146582b32fd8867ef27ac2930da6ae3
java110-config/src/main/java/com/java110/config/properties/CommonProperties.java
@@ -1,10 +1,14 @@
package com.java110.config.properties;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;
/**
 * Created by wuxw on 2017/7/25.
 */
@ConfigurationProperties(prefix = "java110.common",locations="classpath:config/common.properties")
@Component
@ConfigurationProperties(prefix = "java110.common")
@PropertySource("classpath:config/common.properties")
public class CommonProperties {
}