Commit 1980cfc5 by Thinkpad

mr 1205 10:30

parent e72927ab
...@@ -144,6 +144,8 @@ public class office extends TK implements API { ...@@ -144,6 +144,8 @@ public class office extends TK implements API {
} }
if("接口响应成功!".equals(msg)){ if("接口响应成功!".equals(msg)){
exam_id = MapUtil.killQuotes(exam_id, "\"");
L_exam_id=exam_id;
List<String> list=jp.getList("data.offices.list"); List<String> list=jp.getList("data.offices.list");
if (list!=null && list.size()>0 && list.get(0)!=null) { if (list!=null && list.size()>0 && list.get(0)!=null) {
L_office_id=jp.getString("data.offices.list[0].id[0]"); L_office_id=jp.getString("data.offices.list[0].id[0]");
......
...@@ -149,6 +149,9 @@ public class position extends TK implements API { ...@@ -149,6 +149,9 @@ public class position extends TK implements API {
} }
if("0".equals(code)){ if("0".equals(code)){
L_position_id=jp.getString("data.positions.list.id");
L_position_id = L_position_id.replace("[", "").replace("]", "").trim();
System.out.println(L_position_id);
conn=ConnectionsMap.get("tk"); conn=ConnectionsMap.get("tk");
} }
} }
......
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