feat: 访问埋点记录完整referer——支持推广渠道参数(src=xx)区分来源
This commit is contained in:
@@ -13,6 +13,7 @@ const VisitLogSchema = new Schema({
|
||||
source: { type: String, default: '直接访问', index: true },
|
||||
|
||||
ip: { type: String, default: '', index: true },
|
||||
referer: { type: String, default: '' },
|
||||
|
||||
userId: { type: Schema.Types.ObjectId, ref: 'User', default: null },
|
||||
|
||||
|
||||
Reference in New Issue
Block a user