| | |
| | | import com.sandu.common.domain.ResponseVO; |
| | | import com.sandu.common.execption.BusinessException; |
| | | import com.sandu.common.object.BaseConditionVO; |
| | | import com.sandu.common.security.annotation.AnonymousAccess; |
| | | import com.sandu.common.util.ResponseUtil; |
| | | import com.sandu.ximon.admin.param.VnnoxParam; |
| | | import com.sandu.ximon.admin.security.PermissionConfig; |
| | |
| | | |
| | | |
| | | @PostMapping("/allScreenShot") |
| | | public ResponseVO<Object> allScreenShot(@RequestBody List<NovaPushResultVO> vnnoxWebRequest) { |
| | | public ResponseVO<Object> allScreenShot(@RequestBody List<NovaPushResultVO> vnnoxWebRequest) throws InterruptedException { |
| | | return ResponseUtil.success(vnnoxService.getScreenShotUrl(vnnoxWebRequest)); |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | /** |
| | | * 屏幕详情 //前端未发现调用 |
| | | * 屏幕详情 |
| | | * |
| | | * @param sn |
| | | * @return |
| | |
| | | public ResponseVO<Object> getBySnAndPlayerId(@PathVariable String sn) { |
| | | return ResponseUtil.success(ledPlayerEntityService.getBySnAndPlayerSn(sn)); |
| | | } |
| | | |
| | | |
| | | @AnonymousAccess |
| | | @PostMapping("/saveInfo") |
| | | public ResponseVO<Object> saveInfo() { |
| | | vnnoxService.saveInfo(); |
| | | return ResponseUtil.success("执行完毕"); |
| | | } |
| | | |
| | | @AnonymousAccess |
| | | @PostMapping("/asyncStatus") |
| | | public ResponseVO<Object> asyncStatus(List<String> playerIds) { |
| | | vnnoxService.asyncStatus(playerIds); |
| | | return ResponseUtil.success("ok"); |
| | | } |
| | | } |