Commit d6f7d1d3 authored by 马博's avatar 马博

ui update

parent fabc3e5c
...@@ -139,11 +139,11 @@ public class DingdingResult { ...@@ -139,11 +139,11 @@ 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("."));
System.out.println("before runs:"+run); // System.out.println("before runs:"+run);
run =this.env.getProperty(run+"."+type); run =this.env.getProperty(run+"."+type);
System.out.println("(runs+\".\"+type):"+run+"."+type); // System.out.println("(runs+\".\"+type):"+run+"."+type);
System.out.println("runs:"+run); // System.out.println("runs:"+run);
if ((run+"."+type).equals("ui.group"))return "自动化测试"; // if ((run+"."+type).equals("ui.group"))return "自动化测试";
return new String(run.getBytes("ISO-8859-1"), "UTF-8");//ISO-8859-1 return new String(run.getBytes("ISO-8859-1"), "UTF-8");//ISO-8859-1
} }
......
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