diff --git a/apps/cs/src/pages/dashboard/ui/dashboard-page.tsx b/apps/cs/src/pages/dashboard/ui/dashboard-page.tsx index 4bae35f7c..b217531dd 100644 --- a/apps/cs/src/pages/dashboard/ui/dashboard-page.tsx +++ b/apps/cs/src/pages/dashboard/ui/dashboard-page.tsx @@ -118,7 +118,7 @@ function DashboardPage() { 금일 신규 가입자 {data?.memberTodayCnt ? data.memberTodayCnt.toLocaleString() - : "-"} + : "0"} 명
@@ -141,7 +141,7 @@ function DashboardPage() {금일 + - {data?.pstTodayCnt ? data.pstTodayCnt.toLocaleString() : "-"}{" "} + {data?.pstTodayCnt ? data.pstTodayCnt.toLocaleString() : "0"} 등록
@@ -168,7 +168,7 @@ function DashboardPage() { 전일 대비 + {data?.accessBefDayPer ? data.accessBefDayPer.toLocaleString() - : "-"} + : "0"} % diff --git a/apps/cs/src/pages/user-statistics/api/connection-log-service.ts b/apps/cs/src/pages/user-statistics/api/connection-log-service.ts new file mode 100644 index 000000000..0e2daeb5b --- /dev/null +++ b/apps/cs/src/pages/user-statistics/api/connection-log-service.ts @@ -0,0 +1,33 @@ +import { client } from "@/shared/api"; +import { ENDPOINT } from "@/shared/config"; +import { + type ConnectionLogParams, + type ConnectionLogList, + type ConnectionStatisticsParams, + type ConnectionStatistics, + type ConnectionLogService, +} from "../model/connection-log-interface"; + +class ConnectionLogApiService implements ConnectionLogService { + async getConnectionLog( + params: ConnectionLogParams, + ): Promise