| | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | //诺瓦回调 |
| | | @RestController |
| | | @RequestMapping("/serv/vnnox") |
| | | public class ServVnnoxController { |
| | |
| | | @PostMapping("/screenshot") |
| | | public ResponseVO<Object> screenshot(@RequestBody VnnoxScreenShotParam vnnoxScreenShot) { |
| | | String url = vnnoxScreenShot.getScreenShotUrl().replace("&", "&"); |
| | | redisUtils.set(VnnoxConstant.REDIS_SCREEN_SHOT + vnnoxScreenShot.getPlayerId(), url, VnnoxConstant.SCREEN_SHOT_TIMEOUT); |
| | | redisUtils.set(VnnoxConstant.REDIS_SCREEN_SHOT + vnnoxScreenShot.getPlayerId(), url); |
| | | return ResponseUtil.success("ok"); |
| | | } |
| | | |