From 20d2f06486e57b82a9045a754dd538a8a37e5c80 Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期五, 09 八月 2024 18:05:47 +0800 Subject: [PATCH] 最新版本 --- server/visits/dmvisit_service/src/main/java/com/doumee/core/haikang/model/HKTools.java | 72 ++++++++++++++++++++++++++++++++++++ 1 files changed, 72 insertions(+), 0 deletions(-) diff --git a/server/visits/dmvisit_service/src/main/java/com/doumee/core/haikang/model/HKTools.java b/server/visits/dmvisit_service/src/main/java/com/doumee/core/haikang/model/HKTools.java index 6992fdc..7b55f11 100644 --- a/server/visits/dmvisit_service/src/main/java/com/doumee/core/haikang/model/HKTools.java +++ b/server/visits/dmvisit_service/src/main/java/com/doumee/core/haikang/model/HKTools.java @@ -361,6 +361,14 @@ return result; } + public static String startDoPostStringArtemis(String pathStr,Map<String, String> querys,Map<String, String> header,String body){ + Map<String, String> path = getPath(pathStr); + header.put("tagId", UUID.randomUUID().toString().replace("-", "")); + String result = ArtemisHttpUtil.doPostStringArtemis(path, body, querys, null, "application/json", header);// post璇锋眰application/json绫诲瀷鍙傛暟 + saveInterfaceLog(body,result,path); + return result; + + } /** * 绛剧璁垮棰勭害 * @param body @@ -583,6 +591,70 @@ public static String acsDeviceStatus(String body) { return startDoPostStringArtemis(HKConstants.InterfacePath.acsDeviceStatus,body); } + /** + * 鍒嗛〉鑾峰彇骞挎挱鐐� + * @param body + * @return + */ + public static String fetchAudioChannel(String body) { + return startDoPostStringArtemis(HKConstants.InterfacePath.fetchAudioChannel,body); + } + /** + * 鍒嗛〉鑾峰彇骞挎挱璁惧鍒楄〃 + * @param body + * @return + */ + public static String fetchAudioDevice(String body) { + return startDoPostStringArtemis(HKConstants.InterfacePath.fetchAudioDevice,body); + } + /** + * 鏍规嵁璁惧淇℃伅鑾峰彇骞挎挱鐐� + * @param body + * @return + */ + public static String fetchAudioChannelByDevice(String body) { + return startDoPostStringArtemis(HKConstants.InterfacePath.fetchAudioChannelByDevice,body); + } + /** + * 鑾峰彇鍏ㄩ儴鏈堝彴淇℃伅 + * @param body + * @return + */ + public static String platformsList(String body) { + return startDoPostStringArtemis(HKConstants.InterfacePath.platformsList,body); + } + /** + * 鑾峰彇鏈堝彴鐘舵�� + * @param body + * @return + */ + public static String platformStatus(String body) { + return startDoPostStringArtemis(HKConstants.InterfacePath.platformStatus,body); + } + /** + * 鑾峰彇鏈堝彴缁勪欢閰嶇疆鐨凩ED璁惧娓呭崟 + * @param body + * @return + */ + public static String ledRecords(String body) { + return startDoPostStringArtemis(HKConstants.InterfacePath.ledRecords,body); + } + /** + * 鐢ㄤ簬璁剧疆骞挎挱鐨勮嚜瀹氭挱鏀惧拰鍋滄 + * @param body + * @return + */ + public static String customBroadcast(String body) { + return startDoPostStringArtemis(HKConstants.InterfacePath.customBroadcast,body); + } + /** + * 鍙戦�佹秷鎭粰LED + * @param body + * @return + */ + public static String transparentchannel(Map<String,String> header,String body) { + return startDoPostStringArtemis(HKConstants.InterfacePath.transparentchannel,null,header,body); + } /** * 鏌ヨ鍦哄唴杞﹀仠杞︿俊鎭� -- Gitblit v1.9.3