Field[] fields = Constants.class.getDeclaredFields()
for(Field field :fields){
try{
//string格式的参数就转化为string
System.out.println(field.get(field.getName()).toString());
}catch(IllegalAccessException e){
log.error("123");
}
}