Commit fabc3e5c authored by 马博's avatar 马博

ui update

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