Commit fc1b2c6f authored by 马博's avatar 马博

ui update

parent 64e6ff55
...@@ -16,7 +16,7 @@ public class Config { ...@@ -16,7 +16,7 @@ public class Config {
@Bean @Bean
public PropertySourcesPlaceholderConfigurer propertyConfigInDev() { public PropertySourcesPlaceholderConfigurer propertyConfigInDev() {
PropertySourcesPlaceholderConfigurer pspc = new PropertySourcesPlaceholderConfigurer(); PropertySourcesPlaceholderConfigurer pspc = new PropertySourcesPlaceholderConfigurer();
// pspc.setFileEncoding("UTF-8"); pspc.setFileEncoding("UTF-8");
return pspc; return pspc;
} }
} }
...@@ -140,7 +140,7 @@ public class DingdingResult { ...@@ -140,7 +140,7 @@ public class DingdingResult {
public String getByRun(String run,String type) throws UnsupportedEncodingException { public String getByRun(String run,String type) throws UnsupportedEncodingException {
run = run.substring(run.indexOf("_")+1, run.indexOf(".")); run = run.substring(run.indexOf("_")+1, run.indexOf("."));
run =this.env.getProperty(run+"."+type); run =this.env.getProperty(run+"."+type);
return new String(run.getBytes("ISO-8859-1"), "UTF-8");//ISO-8859-1 return run;//new String(run.getBytes("ISO-8859-1"), "UTF-8");//ISO-8859-1
} }
public static void main(String[] args) throws UnsupportedEncodingException { public static void main(String[] args) throws UnsupportedEncodingException {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment