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 |   74 ++++++++++++++++++++++++++++++++++++
 1 files changed, 73 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 6992fdc..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);
 	}
 	/**
 	 *	璁垮棰勭害
@@ -357,6 +357,14 @@
 		Map<String, String> header = new HashMap<>();
 		header.put("tagId", UUID.randomUUID().toString().replace("-", ""));
 		String result = ArtemisHttpUtil.doPostStringArtemis(path, body, null, null, "application/json", header);// post璇锋眰application/json绫诲瀷鍙傛暟
+		saveInterfaceLog(body,result,path);
+		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;
 
@@ -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 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);
+	}
 
 	/**
 	 * 鏌ヨ鍦哄唴杞﹀仠杞︿俊鎭�

--
Gitblit v1.9.3