관리자 권한 확인 로직에 맞춰 url 수정.
parent
a4362f3783
commit
758b87d93e
|
|
@ -23,7 +23,7 @@ function Survey({}) {
|
||||||
const retrieveList = useCallback(() => {
|
const retrieveList = useCallback(() => {
|
||||||
handleClose()
|
handleClose()
|
||||||
EgovNet.requestFetch(
|
EgovNet.requestFetch(
|
||||||
'/admin/survey/list',
|
'/admin/contents/survey/list',
|
||||||
{
|
{
|
||||||
method: "GET"
|
method: "GET"
|
||||||
},
|
},
|
||||||
|
|
@ -58,7 +58,7 @@ function Survey({}) {
|
||||||
|
|
||||||
function editUseYn(svySeq){
|
function editUseYn(svySeq){
|
||||||
EgovNet.requestFetch(
|
EgovNet.requestFetch(
|
||||||
'/admin/survey/info-use-yn',
|
'/admin/contents/survey/info-use-yn',
|
||||||
{
|
{
|
||||||
method: "PUT",
|
method: "PUT",
|
||||||
headers: {
|
headers: {
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ function QuestionModal({svySeq}){
|
||||||
|
|
||||||
function getSurveyQt(){
|
function getSurveyQt(){
|
||||||
EgovNet.requestFetch(
|
EgovNet.requestFetch(
|
||||||
'/admin/survey/info-qt?svySeq='+svySeq,
|
'/admin/contents/survey/info-qt?svySeq='+svySeq,
|
||||||
{
|
{
|
||||||
method: "GET"
|
method: "GET"
|
||||||
},
|
},
|
||||||
|
|
@ -77,7 +77,7 @@ function QuestionModal({svySeq}){
|
||||||
|
|
||||||
function editSurveyQt(e){
|
function editSurveyQt(e){
|
||||||
EgovNet.requestFetch(
|
EgovNet.requestFetch(
|
||||||
'/admin/survey/info-qt',
|
'/admin/contents/survey/info-qt',
|
||||||
{
|
{
|
||||||
method: "PUT",
|
method: "PUT",
|
||||||
headers: {
|
headers: {
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ function SurveyModal({savedInfo, reloadFunction}){
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
EgovNet.requestFetch(
|
EgovNet.requestFetch(
|
||||||
'/admin/survey/info',
|
'/admin/contents/survey/info',
|
||||||
{
|
{
|
||||||
method: "PUT",
|
method: "PUT",
|
||||||
headers: {
|
headers: {
|
||||||
|
|
@ -44,7 +44,7 @@ function SurveyModal({savedInfo, reloadFunction}){
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
EgovNet.requestFetch(
|
EgovNet.requestFetch(
|
||||||
'/admin/survey/info',
|
'/admin/contents/survey/info',
|
||||||
{
|
{
|
||||||
method: "DELETE",
|
method: "DELETE",
|
||||||
headers: {
|
headers: {
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ function FileConnections(props) {
|
||||||
|
|
||||||
const retrieveList = useCallback((srchCnd) => {
|
const retrieveList = useCallback((srchCnd) => {
|
||||||
// console.groupCollapsed("EgovAdminUsageList.retrieveList()");
|
// console.groupCollapsed("EgovAdminUsageList.retrieveList()");
|
||||||
const retrieveListURL = '/admin/logs/file';
|
const retrieveListURL = '/admin/logs/file-download-status';
|
||||||
|
|
||||||
const requestOptions = {
|
const requestOptions = {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ function MenuConnections(props) {
|
||||||
|
|
||||||
const retrieveList = useCallback((srchCnd) => {
|
const retrieveList = useCallback((srchCnd) => {
|
||||||
// console.groupCollapsed("EgovAdminUsageList.retrieveList()");
|
// console.groupCollapsed("EgovAdminUsageList.retrieveList()");
|
||||||
const retrieveListURL = '/admin/logs/menu';
|
const retrieveListURL = '/admin/logs/menu-access-info';
|
||||||
|
|
||||||
const requestOptions = {
|
const requestOptions = {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ function PrivacyConnections(props) {
|
||||||
const retrieveList = useCallback((srchCnd) => {
|
const retrieveList = useCallback((srchCnd) => {
|
||||||
// console.groupCollapsed("EgovAdminUsageList.retrieveList()");
|
// console.groupCollapsed("EgovAdminUsageList.retrieveList()");
|
||||||
|
|
||||||
const retrieveListURL = '/admin/logs/privacy';
|
const retrieveListURL = '/admin/logs/privacy-logs';
|
||||||
|
|
||||||
const requestOptions = {
|
const requestOptions = {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ function UserConnections(props) {
|
||||||
|
|
||||||
const retrieveList = useCallback((srchCnd) => {
|
const retrieveList = useCallback((srchCnd) => {
|
||||||
// console.groupCollapsed("EgovAdminUsageList.retrieveList()");
|
// console.groupCollapsed("EgovAdminUsageList.retrieveList()");
|
||||||
const retrieveListURL = '/admin/logs/user';
|
const retrieveListURL = '/admin/logs/user-connections';
|
||||||
|
|
||||||
const requestOptions = {
|
const requestOptions = {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ import java.util.Map;
|
||||||
|
|
||||||
@RestController
|
@RestController
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
@RequestMapping("/admin/survey")
|
@RequestMapping("/admin/contents/survey")
|
||||||
public class AdminSurveyController {
|
public class AdminSurveyController {
|
||||||
|
|
||||||
private final AdminSurveyService adminSurveyService;
|
private final AdminSurveyService adminSurveyService;
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ public class AdminLogsController extends BaseController {
|
||||||
@ApiResponse(responseCode = "200", description = "조회 성공"),
|
@ApiResponse(responseCode = "200", description = "조회 성공"),
|
||||||
@ApiResponse(responseCode = "403", description = "인가된 사용자가 아님")
|
@ApiResponse(responseCode = "403", description = "인가된 사용자가 아님")
|
||||||
})
|
})
|
||||||
@RequestMapping(method = RequestMethod.POST, value = "/menu", consumes = MediaType.APPLICATION_JSON_VALUE)
|
@RequestMapping(method = RequestMethod.POST, value = "/menu-access-info", consumes = MediaType.APPLICATION_JSON_VALUE)
|
||||||
public ResultVO MenuListCount(@RequestBody Map<String, String> dateRange,
|
public ResultVO MenuListCount(@RequestBody Map<String, String> dateRange,
|
||||||
@AuthenticationPrincipal LoginVO user)
|
@AuthenticationPrincipal LoginVO user)
|
||||||
throws Exception {
|
throws Exception {
|
||||||
|
|
@ -70,7 +70,7 @@ public class AdminLogsController extends BaseController {
|
||||||
@ApiResponse(responseCode = "200", description = "조회 성공"),
|
@ApiResponse(responseCode = "200", description = "조회 성공"),
|
||||||
@ApiResponse(responseCode = "403", description = "인가된 사용자가 아님")
|
@ApiResponse(responseCode = "403", description = "인가된 사용자가 아님")
|
||||||
})
|
})
|
||||||
@RequestMapping(method = RequestMethod.POST, value = "/user", consumes = MediaType.APPLICATION_JSON_VALUE)
|
@RequestMapping(method = RequestMethod.POST, value = "/user-connections", consumes = MediaType.APPLICATION_JSON_VALUE)
|
||||||
public ResultVO UserListCount(@RequestBody Map<String, String> dateRange,
|
public ResultVO UserListCount(@RequestBody Map<String, String> dateRange,
|
||||||
@AuthenticationPrincipal LoginVO user)
|
@AuthenticationPrincipal LoginVO user)
|
||||||
throws Exception {
|
throws Exception {
|
||||||
|
|
@ -99,7 +99,7 @@ public class AdminLogsController extends BaseController {
|
||||||
@ApiResponse(responseCode = "200", description = "조회 성공"),
|
@ApiResponse(responseCode = "200", description = "조회 성공"),
|
||||||
@ApiResponse(responseCode = "403", description = "인가된 사용자가 아님")
|
@ApiResponse(responseCode = "403", description = "인가된 사용자가 아님")
|
||||||
})
|
})
|
||||||
@RequestMapping(method = RequestMethod.POST, value = "/privacy", consumes = MediaType.APPLICATION_JSON_VALUE)
|
@RequestMapping(method = RequestMethod.POST, value = "/privacy-logs", consumes = MediaType.APPLICATION_JSON_VALUE)
|
||||||
public ResultVO selectPrivacyLogsList(@RequestBody ThPrivacyLog thPrivacyLog, @AuthenticationPrincipal LoginVO user)
|
public ResultVO selectPrivacyLogsList(@RequestBody ThPrivacyLog thPrivacyLog, @AuthenticationPrincipal LoginVO user)
|
||||||
throws Exception {
|
throws Exception {
|
||||||
|
|
||||||
|
|
@ -127,7 +127,7 @@ public class AdminLogsController extends BaseController {
|
||||||
@ApiResponse(responseCode = "200", description = "조회 성공"),
|
@ApiResponse(responseCode = "200", description = "조회 성공"),
|
||||||
@ApiResponse(responseCode = "403", description = "인가된 사용자가 아님")
|
@ApiResponse(responseCode = "403", description = "인가된 사용자가 아님")
|
||||||
})
|
})
|
||||||
@RequestMapping(method = RequestMethod.POST, value = "/file", consumes = MediaType.APPLICATION_JSON_VALUE)
|
@RequestMapping(method = RequestMethod.POST, value = "/file-download-status", consumes = MediaType.APPLICATION_JSON_VALUE)
|
||||||
public ResultVO FileListCount(@RequestBody Map<String, String> dateRange,
|
public ResultVO FileListCount(@RequestBody Map<String, String> dateRange,
|
||||||
@AuthenticationPrincipal LoginVO user)
|
@AuthenticationPrincipal LoginVO user)
|
||||||
throws Exception {
|
throws Exception {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue