refactor(analytics): 将时间戳存储从字符串改为数字类型
统一使用数字类型存储时间戳,提高时间处理效率和一致性。修改相关类型定义和格式化函数以支持新旧数据格式。
This commit is contained in:
@@ -97,7 +97,7 @@ export type VisitPageItem = {
|
||||
postTitle: string | null;
|
||||
postUrl: string | null;
|
||||
pv: number;
|
||||
lastVisitAt: string | null;
|
||||
lastVisitAt: number | null;
|
||||
};
|
||||
|
||||
export type VisitPagesResponse = {
|
||||
|
||||
Reference in New Issue
Block a user