로그인로그
This commit is contained in:
@@ -10,7 +10,7 @@ import type {
|
||||
export class LoginlogApiService implements LoginlogService {
|
||||
public async getLoginlogList(params: LoginlogParams): Promise<LoginlogList> {
|
||||
const response = await client.get<LoginlogList>(
|
||||
`${ENDPOINT.CMS_SERVICE.LOGINLOG}`,
|
||||
`${ENDPOINT.USER_SERVICE.LOGINLOG}`,
|
||||
{ params },
|
||||
);
|
||||
return response.data;
|
||||
@@ -18,7 +18,7 @@ export class LoginlogApiService implements LoginlogService {
|
||||
|
||||
public async getLoginlogInfo(lgnSn: string): Promise<LoginlogInfo> {
|
||||
const response = await client.get<LoginlogInfo>(
|
||||
`${ENDPOINT.CMS_SERVICE.LOGINLOG}/${lgnSn}`,
|
||||
`${ENDPOINT.USER_SERVICE.LOGINLOG}/${lgnSn}`,
|
||||
);
|
||||
return response.data;
|
||||
}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
"use client";
|
||||
|
||||
import { useState } from "react";
|
||||
import { keepPreviousData, useQuery } from "@tanstack/react-query";
|
||||
import {
|
||||
@@ -82,7 +84,7 @@ function LoginlogPage({ lgnSn }: LoginlogPageProps) {
|
||||
</div>
|
||||
<div className="card card-border">
|
||||
<div className="card-header">
|
||||
<h3 className="text-2xl font-medium text-label">하위코드 목록</h3>
|
||||
<h3 className="text-2xl font-medium text-label">로그인로그 목록</h3>
|
||||
</div>
|
||||
<div className="card !m-4 h-[calc(100vh-35rem)] overflow-auto !p-0">
|
||||
<DataTable table={table} viewPagination />
|
||||
|
||||
@@ -19,6 +19,7 @@ export const ENDPOINT = {
|
||||
AUTHORIZATIONS: "/user-service/api/v1/authorizations",
|
||||
ROLE_AUTHORIZATIONS: "/user-service/api/v1/role-authorizations",
|
||||
ROLES: "/user-service/api/v1/roles",
|
||||
LOGINLOG: "/user-service//api/v1/login-logs",
|
||||
},
|
||||
CMS_SERVICE: {
|
||||
SITES: "/cms-service/api/v1/sites",
|
||||
@@ -45,7 +46,6 @@ export const ENDPOINT = {
|
||||
SURVEY_QUESTION: "/cms-service/api/v1/srvy-qitem",
|
||||
SURVEY_ARTICLE: "/cms-service/api/v1/srvy-artcl",
|
||||
ZIPS: "/cms-service/api/v1/zips",
|
||||
LOGINLOG: "/cms-service/api/v1/loginlog",
|
||||
},
|
||||
BOARD_SERVICE: {
|
||||
BBS: "/board-service/api/v1/bbs",
|
||||
|
||||
Reference in New Issue
Block a user