<span style="font-size:18px;">1、建立json串</span>
<span style="font-size:18px;"></span><pre name="code" class="java">JSONObject json = new JSONObject();
json.put("content", "1");
json.put("grpId", "2");
json.put("key", "qq");
json.put("linkUrl", "");
json.put("status", "1");
json.put("templateCode", "admin");
JSONArray jsonArray = JSONArray.fromObject(json);
System.out.println(jsonArray);