c72355dd by xu

可信空间连接器入住接口

1 parent c40c9fb6
......@@ -16,6 +16,7 @@ import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.annotation.Resource;
import jakarta.validation.Valid;
import org.apache.commons.lang3.ObjectUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.web.bind.annotation.*;
......@@ -127,6 +128,9 @@ public class TdsConnectorIdentityController {
@SystemLog(value = "连接器身份信息-查询有效的连接器信息")
public CommonRes<String> getConnector() {
TdsConnectorIdentityRSVO vo = tdsConnectorIdentityService.getEffectiveConnector();
if(ObjectUtils.isEmpty(vo)){
return CommonRes.success("");
}
return CommonRes.success(vo.getConnectorIdentity());
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!