public static void main(String[] args) { String url = ""; String appId = "待定"; String appSecret = "待定"; String funId = "xxx"; SignTypeEnum signType = SignTypeEnum.SM3; String signKey = "待定"; EncryptionModeEnum encType = EncryptionModeEnum.SM4; String encKey = "A5B6E00DA599G56C41ABFE23A74E6E60"; try { DefaultZephyrClient client = new DefaultZephyrClient(url, funId, appId, appSecret, signType, signKey, encType, encKey); DefaultZephyrRequest req = new DefaultZephyrRequest(); JSONObject jsonObject1 = new JSONObject(); jsonObject1.put("code", "XXXXXXXXXXXXXXXXXX"); jsonObject1.put("scene_code", "XXX"); req.setData(jsonObject1); DefaultZephyrResponse resp = client.execute(req); System.out.println(resp.getData()); } catch (ZephyrApiException e) { e.printStackTrace(); } }