Commit fabc3e5c authored by 马博's avatar 马博

ui update

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