feat: 访客列表站点归属显示与筛选
Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -11,6 +11,9 @@ import request from '@/utils/http'
|
||||
/** 访客行(visitors.py `_row`:列表/详情共用行字段) */
|
||||
export interface VisitorRow {
|
||||
visitor_id: string
|
||||
/** 站点归属(多站点下分辨访客来自哪个站) */
|
||||
site_id: string
|
||||
site_name: string
|
||||
country: string
|
||||
province: string
|
||||
city: string
|
||||
@@ -97,6 +100,8 @@ export interface VisitorListResp {
|
||||
*/
|
||||
export interface VisitorListParams {
|
||||
page?: number
|
||||
/** 站点过滤(site_id;不传 = 全部站点,站点不存在时后端 404 site_not_found) */
|
||||
site?: string
|
||||
country?: string
|
||||
device_type?: string
|
||||
/** 仅 "1" 生效:5 分钟内有行为的在线访客 */
|
||||
|
||||
Reference in New Issue
Block a user