java110
2020-06-25 6185f3cf00f706d50479443dbe731381f6903ee4
java110-config/src/main/java/com/java110/config/properties/EventProperties.java
@@ -1,12 +1,16 @@
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/4/14.
 */
@ConfigurationProperties(prefix = "java110.event.properties",locations="classpath:config/event.properties")
@Component
@ConfigurationProperties(prefix = "java110.event.properties")
@PropertySource("classpath:config/event.properties")
public class EventProperties {