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 @GetMapping
@CheckWebAccess @CheckWebAccess(auth_method = AuthMethod.SECRET_KEY)
@WaitAfterNext
@BurstUpdatePlayers @BurstUpdatePlayers
public ResponseEntity GetUser(HttpServletRequest request, public ResponseEntity GetUser(HttpServletRequest request,
@RequestParam String steam64) { @RequestParam String steam64) {
return new ResponseEntity(profileService.GetProfile(steam64), HttpStatus.OK); 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") @GetMapping("/steam")
@CheckWebAccess(auth_method = AuthMethod.SECRET_KEY) @CheckWebAccess(auth_method = AuthMethod.SECRET_KEY)
public ResponseEntity<SteamID> GetSteam(HttpServletRequest request, public ResponseEntity<SteamID> GetSteam(HttpServletRequest request,

Loading…
Cancel
Save