|
|
|
@ -202,9 +202,9 @@ public class CustomerFormServiceImpl implements CustomerFormService { |
|
|
|
|
|
|
|
ArrayList<Tree> masterTreeList = new ArrayList<>(); |
|
|
|
String userKey = key; |
|
|
|
|
|
|
|
//String url = "http://172.20.2.87:7777/customer_form/gainTableField";
|
|
|
|
String url = "http://36.133.126.182:39250/customer_form/gainTableField"; |
|
|
|
//上线修改
|
|
|
|
String url = "http://172.20.2.87:7777/customer_form/gainTableField"; |
|
|
|
//String url = "http://36.133.126.182:39250/customer_form/gainTableField";
|
|
|
|
JSONObject param = new JSONObject(); |
|
|
|
param.put("id", cfid); |
|
|
|
String post = null; |
|
|
|
@ -221,8 +221,8 @@ public class CustomerFormServiceImpl implements CustomerFormService { |
|
|
|
|
|
|
|
try { |
|
|
|
JsonNode jsonNode = objectMapper.readTree(post); |
|
|
|
JsonNode msg = jsonNode.get("msg"); |
|
|
|
if(msg.toString().contains("成功")){ |
|
|
|
JsonNode code = jsonNode.get("code"); |
|
|
|
if(code.toString().equals("0")){ |
|
|
|
JsonNode data = jsonNode.get("data"); |
|
|
|
|
|
|
|
tree.setId(cfid); |
|
|
|
|