@Component @ConfigurationProperties(value="hdis.response.success") public class SuccessProperties extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
success
默认成功返回消息
|
static String |
SUCCESS_KEY
默认成功返回消息,静态key
|
static String |
SUCCESS_VALUE
默认成功返回消息,静态value
|
| Constructor and Description |
|---|
SuccessProperties() |
| Modifier and Type | Method and Description |
|---|---|
String |
getSuccess() |
void |
init()
静态注入
|
void |
setSuccess(String success) |
public static final String SUCCESS_KEY
public static String SUCCESS_VALUE
public String success
@PostConstruct public void init()
public String getSuccess()
public void setSuccess(String success)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.