| | |
| | | import cn.hutool.core.convert.Convert; |
| | | import cn.hutool.core.date.DateUtil; |
| | | import cn.hutool.json.JSONArray; |
| | | import cn.hutool.json.JSONNull; |
| | | import cn.hutool.json.JSONObject;; |
| | | import com.example.client.service.BaseService; |
| | | import com.example.client.utils.UUIDUtil; |
| | |
| | | case "custom-circle": |
| | | case "custom-circle1": |
| | | String text = (String) JsonUtils2.getJsonValueByPath(jsonObject, "attrs/text/text".split("/")); |
| | | String title = (String) JsonUtils2.getJsonValueByPath(jsonObject, "attrs/title/text".split("/")); |
| | | String title = JsonUtils2.getJsonValueByPath(jsonObject, "attrs/title/text".split("/")) instanceof JSONNull ? null : (String) JsonUtils2.getJsonValueByPath(jsonObject, "attrs/title/text".split("/")); |
| | | String idValue = jsonObject.get("id").toString(); |
| | | |
| | | Integer x = (Integer) JsonUtils2.getJsonValueByPath(jsonObject, "position/x".split("/")) + defX; |