3 Star 2 Fork 1

fotomxq/weeekj_core

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
fields_visit.go 1.18 KB
一键复制 编辑 原始数据 按行查看 历史
fotomxq 提交于 2025-02-05 18:52 +08:00 . 修改项目路径;
package AnalysisUserVisit
import (
CoreSQLConfig "gitee.com/fotomxq/weeekj_core/v5/core/sql/config"
CoreSQLFrom "gitee.com/fotomxq/weeekj_core/v5/core/sql/from"
"time"
)
// FieldsVisit 访问记录表
type FieldsVisit struct {
//ID
ID int64 `db:"id" json:"id"`
//创建时间
// 访问的时间
CreateAt time.Time `db:"create_at" json:"createAt"`
//组织ID
// 如果存在数据,则表明该数据隶属于指定组织
// 组织依可查看该数据
OrgID int64 `db:"org_id" json:"orgID"`
//数据来源
// 来自哪个模块
CreateInfo CoreSQLFrom.FieldsFrom `db:"create_info" json:"createInfo"`
//关联的用户
UserID int64 `db:"user_id" json:"userID"`
//所属国家 国家代码
// eg: china => 86
Country int `db:"country" json:"country"`
//挖掘的电话号码
Phone string `db:"phone" json:"phone"`
//IP地址
IP string `db:"ip" json:"ip"`
//浏览器标识
// 或设备标识
Mark string `db:"mark" json:"mark"`
//行为标记
// insert 进入; out 离开; move 移动
// buy_page 进入购物页面 ... 等,具体参考文档
Action string `db:"action" json:"action"`
//扩展参数
Params CoreSQLConfig.FieldsConfigsType `db:"params" json:"params"`
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/fotomxq/weeekj_core.git
git@gitee.com:fotomxq/weeekj_core.git
fotomxq
weeekj_core
weeekj_core
v5.3.83

搜索帮助