Browse Source

new front update 4 good version

master
gsd 1 year ago
parent
commit
75086d5297
  1. 12
      src/main/java/app/controllers/user/DetailController.java

12
src/main/java/app/controllers/user/DetailController.java

@ -25,14 +25,22 @@ public class DetailController {
}
@GetMapping
@CheckWebAccess
@WaitAfterNext
@CheckWebAccess(auth_method = AuthMethod.SECRET_KEY)
@BurstUpdatePlayers
public ResponseEntity GetUser(HttpServletRequest request,
@RequestParam String steam64) {
return new ResponseEntity(profileService.GetProfile(steam64), HttpStatus.OK);
}
@GetMapping("/web")
@CheckWebAccess(auth_method = AuthMethod.STEAM64)
@BurstUpdatePlayers
@WaitAfterNext
public ResponseEntity GetUser4Web(HttpServletRequest request,
@RequestParam String steam64) {
return new ResponseEntity(profileService.GetProfile(steam64), HttpStatus.OK);
}
@GetMapping("/steam")
@CheckWebAccess(auth_method = AuthMethod.SECRET_KEY)
public ResponseEntity<SteamID> GetSteam(HttpServletRequest request,

Loading…
Cancel
Save