From 17d3a171569b150cae8c240e69e4969e0ae34b03 Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期三, 14 八月 2024 11:44:45 +0800 Subject: [PATCH] 最新版本 --- server/visits/dmvisit_service/src/main/java/com/doumee/core/haikang/model/HKTools.java | 94 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 93 insertions(+), 1 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 659794a..ef6947a 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 @@ -324,7 +324,7 @@ * @return */ public static String acsDeviceTimeRangeList(String body) { - return startDoPostStringArtemis(HKConstants.InterfacePath.acsDeviceList,body); + return startDoPostStringArtemis(HKConstants.InterfacePath.acsDeviceTimeRangeList,body); } /** * 璁垮棰勭害 @@ -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 @@ -376,6 +384,9 @@ */ public static String privilegeGroup(String body) { return startDoPostStringArtemis(HKConstants.InterfacePath.privilegeGroup,body); + } + public static String privilegIccmeGroup(String body) { + return startDoPostStringArtemis(HKConstants.InterfacePath.privilegIccmeGroup,body); } /** * 浜嬩欢璁㈤槄 @@ -580,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 param) { + return startDoPostStringArtemis(HKConstants.InterfacePath.platformStatus+"?platformIds="+param,null); + } + /** + * 鑾峰彇鏈堝彴缁勪欢閰嶇疆鐨凩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); + } /** * 鏌ヨ鍦哄唴杞﹀仠杞︿俊鎭� @@ -590,4 +665,21 @@ return startDoPostStringArtemis(HKConstants.InterfacePath.tempCarInRecords,body); } + /** + * 鏍规嵁鐢ㄦ埛鏍囪瘑鑾峰彇瀹㈡埛绔疶GC鎺ュ彛 + * @param body + * @return + */ + public static String applyCTGT(String body) { + return startDoPostStringArtemis(HKConstants.InterfacePath.applyCTGT,body); + } + /** + * 鏍规嵁鐧诲綍鏍囪瘑TGC鐢宠鐧诲綍鍑瘉ST鎺ュ彛 + * @param body + * @return + */ + public static String applyST(String body) { + return startDoPostStringArtemis(HKConstants.InterfacePath.applyST,body); + } + } -- Gitblit v1.9.3