refactor(property): 1

This commit is contained in:
2025-09-09 19:04:07 +08:00
parent 24ef7391a7
commit 5c86b29c14
2 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
import { requestClient } from '#/api/request'; import { requestClient } from '#/api/request'
import type { PageResult } from '#/api/common'; import type { PageResult } from '#/api/common'
/** /**
* 通行记录列表 * 通行记录列表
@@ -7,5 +7,5 @@ import type { PageResult } from '#/api/common';
* @returns void * @returns void
*/ */
export function getVisitorList(params?: any) { export function getVisitorList(params?: any) {
return requestClient.get<PageResult<any>>('/sis/visitor/list', { params }); return requestClient.get<PageResult<any>>('/sis/e8/visitor/list', { params })
} }

View File

@@ -27,7 +27,7 @@ export default defineConfig(async () => {
changeOrigin: true, changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''), rewrite: (path) => path.replace(/^\/api/, ''),
// mock代理目标地址 // mock代理目标地址
target: 'http://183.230.235.66:11010/api', target: 'http://localhost:8080',
ws: true, ws: true,
}, },
}, },