[接口文档] 补充缺少的登录信息描述

This commit is contained in:
lin
2025-03-11 09:46:33 +08:00
parent bc249b6786
commit 171702e4ce

View File

@@ -5,7 +5,6 @@ import com.alibaba.fastjson2.JSONObject;
import com.genersoft.iot.vmp.common.SystemAllInfo;
import com.genersoft.iot.vmp.common.VersionPo;
import com.genersoft.iot.vmp.common.enums.ChannelDataType;
import com.genersoft.iot.vmp.common.enums.DeviceControlType;
import com.genersoft.iot.vmp.conf.SipConfig;
import com.genersoft.iot.vmp.conf.UserSetting;
import com.genersoft.iot.vmp.conf.VersionInfo;
@@ -224,7 +223,7 @@ public class ServerController {
}
@GetMapping(value = "/config")
@Operation(summary = "获取配置信息")
@Operation(summary = "获取配置信息", security = @SecurityRequirement(name = JwtUtils.HEADER))
@Parameter(name = "type", description = "配置类型sip, base", required = true)
@ResponseBody
public JSONObject getVersion(String type) {
@@ -251,7 +250,7 @@ public class ServerController {
@GetMapping(value = "/system/info")
@ResponseBody
@Operation(summary = "获取系统信息")
@Operation(summary = "获取系统信息", security = @SecurityRequirement(name = JwtUtils.HEADER))
public SystemAllInfo getSystemInfo() {
SystemAllInfo systemAllInfo = redisCatchStorage.getSystemInfo();
@@ -260,7 +259,7 @@ public class ServerController {
@GetMapping(value = "/media_server/load")
@ResponseBody
@Operation(summary = "获取负载信息")
@Operation(summary = "获取负载信息", security = @SecurityRequirement(name = JwtUtils.HEADER))
public List<MediaServerLoad> getMediaLoad() {
List<MediaServerLoad> result = new ArrayList<>();
List<MediaServer> allOnline = mediaServerService.getAllOnline();
@@ -276,7 +275,7 @@ public class ServerController {
@GetMapping(value = "/resource/info")
@ResponseBody
@Operation(summary = "获取负载信息")
@Operation(summary = "获取负载信息", security = @SecurityRequirement(name = JwtUtils.HEADER))
public ResourceInfo getResourceInfo() {
ResourceInfo result = new ResourceInfo();
ResourceBaseInfo deviceInfo = deviceService.getOverview();
@@ -293,7 +292,7 @@ public class ServerController {
@GetMapping(value = "/info")
@ResponseBody
@Operation(summary = "获取系统信息")
@Operation(summary = "获取系统信息", security = @SecurityRequirement(name = JwtUtils.HEADER))
public Map<String, Map<String, String>> getInfo() {
Map<String, Map<String, String>> result = new LinkedHashMap<>();
Map<String, String> hardwareMap = new LinkedHashMap<>();
@@ -347,7 +346,7 @@ public class ServerController {
@GetMapping(value = "/channel/datatype")
@ResponseBody
@Operation(summary = "获取系统接入的数据类型")
@Operation(summary = "获取系统接入的数据类型", security = @SecurityRequirement(name = JwtUtils.HEADER))
public List<Map<String, Object>> getDataType() {
List<Map<String, Object>> result = new LinkedList<>();
for (ChannelDataType item : ChannelDataType.values()) {