88e030b7
王彪总
init project
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
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/25.
*/
@ConfigurationProperties(prefix = "java110.order")
@Component("orderProperties")
@PropertySource("classpath:config/order.properties")
public class OrderProperties {
private String deleteOrderAsyn;
public String getDeleteOrderAsyn() {
return deleteOrderAsyn;
}
public void setDeleteOrderAsyn(String deleteOrderAsyn) {
this.deleteOrderAsyn = deleteOrderAsyn;
}
}
|