Commit 3bfba3bf by 杨林龙

优化 ICE调用接口设备数据查询 增加设备类型参数 yangll

1 parent 1f05e85c
...@@ -27,6 +27,7 @@ public class IceOpenApiServiceImpl implements IceOpenApiService { ...@@ -27,6 +27,7 @@ public class IceOpenApiServiceImpl implements IceOpenApiService {
public Map<String, Integer> getDataView(int userId, int deviceType) { public Map<String, Integer> getDataView(int userId, int deviceType) {
HashMap<String, Integer> hashMap = new HashMap<>(); HashMap<String, Integer> hashMap = new HashMap<>();
String deviceTypeStr; String deviceTypeStr;
// 设备类型 1 模组 2 核心板 3 完整板
switch (deviceType) { switch (deviceType) {
case 1: case 1:
deviceTypeStr = "模组"; deviceTypeStr = "模组";
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!