| | |
| | | } |
| | | |
| | | @PreAuthorize("hasAuthority('system:aiMcpMount:update')") |
| | | @PostMapping("/aiMcpMount/{id}/connectivity/test") |
| | | public R testConnectivity(@PathVariable("id") Long id) { |
| | | return R.ok().add(aiMcpMountService.testConnectivity(id, getLoginUserId(), getTenantId())); |
| | | } |
| | | |
| | | @PreAuthorize("hasAuthority('system:aiMcpMount:update')") |
| | | @PostMapping("/aiMcpMount/{id}/tool/test") |
| | | public R testTool(@PathVariable("id") Long id, @RequestBody AiMcpToolTestRequest request) { |
| | | return R.ok().add(aiMcpMountService.testTool(id, getLoginUserId(), getTenantId(), request)); |