Browse Source

хехе говняк 2

master
gsd 1 year ago
parent
commit
bbc7f4f870
  1. 9
      src/main/java/app/controllers/admin/DBController.java

9
src/main/java/app/controllers/admin/DBController.java

@ -7,6 +7,7 @@ import app.services.db.DetectService;
import app.utils.SteamIDConverter;
import jakarta.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import java.util.List;
@ -29,4 +30,12 @@ public class DBController {
@RequestParam(value = "steam64", required = false, defaultValue = "") String steam64) {
return detectService.getAccountsPerSteamID(SteamIDConverter.getSteamID(steam64)).stream().map(s -> s.community_url).toList();
}
@RequestMapping(value = "/alt", method = RequestMethod.OPTIONS)
@CheckWebAccess
@CheckPermitionFlag(flag = "d")
public ResponseEntity check4getAltAccountPerAccount(HttpServletRequest request) {
return ResponseEntity.ok().build();
}
}

Loading…
Cancel
Save