package com.example.sso.dao; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.example.sso.util.V5utils; public class Add { public static void xu1(String jsy_id, Integer l) { JSONObject jsonObject = new JSONObject(); jsonObject.put("app_id","628eeaace7f28c00089a60cc"); jsonObject.put("entry_id","660bcf3ae0f50cf16c02bbcc"); JSONObject jsonObject1 = new JSONObject(); JSONObject jsy_idV = new JSONObject(); jsy_idV.put("value",jsy_id); JSONObject course_totalV = new JSONObject(); course_totalV.put("value",l); jsonObject1.put("course_total",course_totalV); jsonObject1.put("jsy_id",jsy_idV); jsonObject.put("data",jsonObject1); String jsonString = jsonObject.toJSONString(); V5utils.add(jsonString); } }