forked from ddrilling/asb_cloud_front
fix spelling RequestTrackerService
This commit is contained in:
parent
261bad8d29
commit
9f81b4bead
23270
package-lock.json
generated
23270
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -34,7 +34,7 @@
|
||||
"react_test": "react-scripts test",
|
||||
"eject": "react-scripts eject"
|
||||
},
|
||||
"proxy": "http://192.168.1.70:5000",
|
||||
"proxy": "http://46.146.209.148:89/",
|
||||
"eslintConfig": {
|
||||
"extends": [
|
||||
"react-app",
|
||||
|
@ -3,7 +3,7 @@ import { memo, useEffect, useState } from 'react'
|
||||
import LoaderPortal from '@components/LoaderPortal'
|
||||
import { invokeWebApiWrapperAsync } from '@components/factory'
|
||||
import { defaultPagination, makeColumn, makeDateSorter, makeStringSorter, Table } from '@components/Table'
|
||||
import { RequerstTrackerService } from '@api'
|
||||
import { RequestTrackerService } from '@api'
|
||||
import { arrayOrDefault, formatDate } from '@utils'
|
||||
|
||||
const logRecordCount = 1000
|
||||
@ -23,7 +23,7 @@ export const VisitLog = memo(() => {
|
||||
|
||||
useEffect(() => invokeWebApiWrapperAsync(
|
||||
async () => {
|
||||
const logData = arrayOrDefault(await RequerstTrackerService.getUsersStat(logRecordCount))
|
||||
const logData = arrayOrDefault(await RequestTrackerService.getUsersStat(logRecordCount))
|
||||
logData.forEach((log) => log.key = `${log.login}${log.ip}`)
|
||||
setLogData(logData)
|
||||
},
|
||||
|
@ -1 +1 @@
|
||||
npx openapi -i http://192.168.1.70:5000/swagger/v1/swagger.json -o src/services/api
|
||||
npx openapi -i http://46.146.209.148/swagger/v1/swagger.json -o src/services/api
|
Loading…
Reference in New Issue
Block a user