| | |
| | | @Resource |
| | | private ITyService tyService; |
| | | |
| | | @ApiOperation("获取六合token信息") |
| | | @ApiOperation("获取边缘服务器token信息") |
| | | @ApiOperationSupport(order = 1) |
| | | @GetMapping("/getToken/{serverId}") |
| | | public AjaxResult getToken(@PathVariable("serverId") String serverId) { |
| | |
| | | |
| | | @ApiOperation("获取直播地址") |
| | | @ApiOperationSupport(order = 6) |
| | | @GetMapping("/getBoxList/{boxSn}") |
| | | @GetMapping("/getBoxLiveUrl/{boxSn}") |
| | | public AjaxResult getBoxLiveUrl(@PathVariable("boxSn") String boxSn) { |
| | | BoxStreamUrlReceiver boxLiveUrl = tyService.getBoxLiveUrl(boxSn); |
| | | return AjaxResult.success(boxLiveUrl); |
| | |
| | | return AjaxResult.success(state); |
| | | } |
| | | |
| | | @ApiOperation("根据[服务器id]获取六合盒子列表") |
| | | @ApiOperation("根据[服务器id]获取边缘服务器盒子列表") |
| | | @ApiOperationSupport(order = 8) |
| | | @GetMapping("/getBoxSnToList/{id}") |
| | | public TableDataInfo getBoxSnToList(@PathVariable("id") String id) { |