do

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessLogs

type AccessLogs struct {
	g.Meta     `orm:"table:access_logs, do:true"`
	Id         interface{} // ID
	AccountNo  interface{} // 账号标识
	ShortNo    interface{} // 短链标识
	ShortUrl   interface{} // 短链内容
	ShortAll   interface{} // 带参数URL
	YearTime   interface{} // 年份
	MonthTime  interface{} // 月份
	DayTime    interface{} // 日期
	AccessDate *gtime.Time // 访问日期
	AccessTime *gtime.Time // 访问时间
	UserAgent  interface{} // 访问user_agent
	Ip         interface{} // 访问IP
	TraceId    interface{} // 链路追踪标识
	VisitState interface{} // 访问状态 0默认,100正常 200失效
	ServerIp   interface{} // 服务器IP
	CreateTime *gtime.Time // 创建时间
	ModifyTime *gtime.Time // 修改时间
}

AccessLogs is the golang structure of table access_logs for DAO operations like Where/Data.

type AccessLogsSummary

type AccessLogsSummary struct {
	g.Meta     `orm:"table:access_logs_summary, do:true"`
	Id         interface{} // ID
	AccountNo  interface{} // 账号标识
	ShortNo    interface{} // 短链标识
	ShortUrl   interface{} // 短链内容
	ShortAll   interface{} // 带参数URL
	YearTime   interface{} // 年份
	MonthTime  interface{} // 月份
	DayTime    interface{} // 日期
	AccessDate *gtime.Time // 访问日期
	UserAgent  interface{} // 访问user_agent
	Ip         interface{} // 访问IP
	Summary    interface{} // 访问汇总
	SuccessSum interface{} // 成功
	FailSum    interface{} // 失败
	CreateTime *gtime.Time // 创建时间
	ModifyTime *gtime.Time // 修改时间
}

AccessLogsSummary is the golang structure of table access_logs_summary for DAO operations like Where/Data.

type ShortAuditLog

type ShortAuditLog struct {
	g.Meta             `orm:"table:short_audit_log, do:true"`
	Id                 interface{} // ID
	ShortNo            interface{} // 短链标识
	TrxId              interface{} // 记录ID
	FullScreenshot     interface{} // 整屏镜像
	Content            interface{} // 网页内容
	HashContent        interface{} // hash值 sha256
	ContentPath        interface{} // 内容文件地址
	SafetyAuditAlibaba interface{} // 阿里内容安全审核
	SafetyAuditTencent interface{} // 腾讯内容审核
	AuditState         interface{} // 审核状态 0 默认 10000阿里异常,20000 腾讯异常,100000俩者都异常
	HashState          interface{} // hash状态 0 默认 100正常 200失效
	RedirectState      interface{} // 跳转状态 0 默认 100正常 200异常
	ModifyTime         *gtime.Time // 修改时间
	CreateTime         *gtime.Time // 创建时间
}

ShortAuditLog is the golang structure of table short_audit_log for DAO operations like Where/Data.

type ShortContentRecord

type ShortContentRecord struct {
	g.Meta      `orm:"table:short_content_record, do:true"`
	Id          interface{} // ID
	ShortNo     interface{} // 短链标识
	TrxId       interface{} // 唯一标识
	ContentType interface{} // 内容类型 0默认,100镜像内容 200审核内容
	Content     interface{} // 网页内容
	HashContent interface{} // hash值 sha256
	CreateTime  *gtime.Time // 创建时间
	ModifyTime  *gtime.Time // 修改时间
}

ShortContentRecord is the golang structure of table short_content_record for DAO operations like Where/Data.

type ShortDomain

type ShortDomain struct {
	g.Meta     `orm:"table:short_domain, do:true"`
	Id         interface{} // ID
	DomainNo   interface{} // 域名编号
	Domain     interface{} // 短链域名
	Memo       interface{} // 备注
	State      interface{} // 状态  0默认 100正常 200失效
	CreateTime *gtime.Time // 创建时间
	ModifyTime *gtime.Time // 更新时间
}

ShortDomain is the golang structure of table short_domain for DAO operations like Where/Data.

type ShortMirror

type ShortMirror struct {
	g.Meta         `orm:"table:short_mirror, do:true"`
	Id             interface{} // ID
	ShortNo        interface{} // 短链标识
	DestUrl        interface{} // 原始URL
	FullScreenshot interface{} // 整屏镜像
	ContentPath    interface{} // 内容文件地址
	Content        interface{} // 网页内容
	HashContent    interface{} // hash值 sha256
	CreateTime     *gtime.Time // 创建时间
	ModifyTime     *gtime.Time // 修改时间
}

ShortMirror is the golang structure of table short_mirror for DAO operations like Where/Data.

type ShortRaw

type ShortRaw struct {
	g.Meta     `orm:"table:short_raw, do:true"`
	Id         interface{} // ID
	ShortNo    interface{} // 链接标识
	RawNo      interface{} // 唯一标识
	ShortRaw   interface{} // 额外参数标识
	ShortValue interface{} // 额外参数对应value
	ShortKey   interface{} // 链接参数key
	State      interface{} // 0默认 100正常 200失效
	CreateTime *gtime.Time // 创建时间
	ModifyTime *gtime.Time // 更新时间
}

ShortRaw is the golang structure of table short_raw for DAO operations like Where/Data.

type ShortUrls

type ShortUrls struct {
	g.Meta        `orm:"table:short_urls, do:true"`
	Id            interface{} // ID
	AccountNo     interface{} // 所属用户表示
	ShortNo       interface{} // 短链的唯一ID
	ShortUrl      interface{} // 短链内容
	ShortDomain   interface{} // 短链域名
	ShortDomainNo interface{} // 短链域名标识
	DestUrl       interface{} // 原始链接
	Domain        interface{} // 主域名
	IsValid       interface{} // 是否可用 0默认 100正常 200失效
	DisableTime   *gtime.Time // 失效时间
	Memo          interface{} // 备注
	RawState      interface{} // 原始状态 0默认 100附带额外参数
	Sort          interface{} // 排序字段
	CollectState  interface{} // 镜像采集状态 0 默认 100已采集 200采集失败
	CollectTime   *gtime.Time // 采集时间
	DelState      interface{} // 是否删除 0 默认 200删除
	DelTime       *gtime.Time // 删除时间
	CreateTime    *gtime.Time // 创建时间
	ModifyTime    *gtime.Time // 修改时间
}

ShortUrls is the golang structure of table short_urls for DAO operations like Where/Data.

type SumUrlIpCountStats

type SumUrlIpCountStats struct {
	g.Meta      `orm:"table:sum_url_ip_count_stats, do:true"`
	TodayCount  interface{} //
	DTodayCount interface{} //
}

SumUrlIpCountStats is the golang structure of table sum_url_ip_count_stats for DAO operations like Where/Data.

type TotalCountTop25

type TotalCountTop25 struct {
	g.Meta          `orm:"table:total_count_top25, do:true"`
	ShortUrl        interface{} // 短链内容
	TodayCount      interface{} //
	YesterdayCount  interface{} //
	Last7DaysCount  interface{} //
	MonthlyCount    interface{} //
	TotalCount      interface{} //
	DTodayCount     interface{} //
	DYesterdayCount interface{} //
	DLast7DaysCount interface{} //
	DMonthlyCount   interface{} //
	DTotalCount     interface{} //
	Id              interface{} // ID
	DestUrl         interface{} // 原始链接
	CreateTime      *gtime.Time // 创建时间
	IsValid         interface{} // 是否可用 0默认 100正常 200失效
	Memo            interface{} // 备注
}

TotalCountTop25 is the golang structure of table total_count_top25 for DAO operations like Where/Data.

type UrlIpCountStats

type UrlIpCountStats struct {
	g.Meta          `orm:"table:url_ip_count_stats, do:true"`
	ShortUrl        interface{} // 短链内容
	ShortNo         interface{} // 短链的唯一ID
	TodayCount      interface{} //
	YesterdayCount  interface{} //
	Last7DaysCount  interface{} //
	MonthlyCount    interface{} //
	TotalCount      interface{} //
	DTodayCount     interface{} //
	DYesterdayCount interface{} //
	DLast7DaysCount interface{} //
	DMonthlyCount   interface{} //
	DTotalCount     interface{} //
}

UrlIpCountStats is the golang structure of table url_ip_count_stats for DAO operations like Where/Data.

type Users

type Users struct {
	g.Meta     `orm:"table:users, do:true"`
	Id         interface{} // ID
	UserNo     interface{} // 账号唯一标识
	Account    interface{} // 账号
	Password   interface{} // 密码
	State      interface{} // 状态 0 默认 100正常 200失效
	GroupLevel interface{} // 用户等级 0 默认超级 1000商户管理员,10000普通管理员
	AccountNo  interface{} // 用户关联企业ID 同企业管理员ID一致
	CreateTime *gtime.Time // 创建时间
	ModifyTime *gtime.Time // 更新时间
}

Users is the golang structure of table users for DAO operations like Where/Data.

type UsersAccessSecret

type UsersAccessSecret struct {
	g.Meta     `orm:"table:users_access_secret, do:true"`
	Id         interface{} // ID
	AccountNo  interface{} // 企业管理员ID一致
	SecretId   interface{} // 授权应用ID
	SecretKey  interface{} // 授权应用key
	Salt       interface{} // 盐值
	SaltKey    interface{} // 盐值key
	GrantType  interface{} // 授权类型: 默认空,API token授权:client_credentials
	State      interface{} // 状态 0默认 100正常 200禁用
	CreateTime *gtime.Time // 创建时间
	ModifyTime *gtime.Time // 修改时间
}

UsersAccessSecret is the golang structure of table users_access_secret for DAO operations like Where/Data.

type UsersDomain

type UsersDomain struct {
	g.Meta      `orm:"table:users_domain, do:true"`
	Id          interface{} // ID
	AccountNo   interface{} // 账号标识
	DomainNo    interface{} // 域名标识
	Domain      interface{} // 域名 不需要http等协议信息
	Memo        interface{} // 备注信息
	License     interface{} // icp备案号
	SubLicense  interface{} // icp备案号 带序号
	State       interface{} // 状态描述 0:未提交 10:审核中 20:审核通过 30:审核失败 40:已禁用
	CreateTime  *gtime.Time // 创建时间
	AuditTime   *gtime.Time // 审核时间
	DisableTime *gtime.Time // 禁用时间
	ModifyTime  *gtime.Time // 修改时间
}

UsersDomain is the golang structure of table users_domain for DAO operations like Where/Data.

type UsersDomainAudit

type UsersDomainAudit struct {
	g.Meta         `orm:"table:users_domain_audit, do:true"`
	Id             interface{} // ID
	AccountNo      interface{} // 用户标识
	DomainNo       interface{} // 用户认证域名ID
	Icp            interface{} // icp备案号
	QueryResult    interface{} // 查询结果
	AuditAccountNo interface{} // 审核用户ID
	AuditTime      *gtime.Time // 审核时间
	AuditState     interface{} // 审核状态 0 默认 20:审核通过 30:审核失败
	CreateTime     *gtime.Time // 创建时间
	ModifyTime     *gtime.Time // 修改时间
}

UsersDomainAudit is the golang structure of table users_domain_audit for DAO operations like Where/Data.

type UsersMerchant

type UsersMerchant struct {
	g.Meta              `orm:"table:users_merchant, do:true"`
	Id                  interface{} // ID
	AccountNo           interface{} // 合作伙伴 用户ID
	AppKey              interface{} // 渠道Key 合作来源ID
	AppSecret           interface{} // 渠道合作密钥
	MerName             interface{} // 昵称
	MerAvatar           interface{} // 企业头像
	MerMobile           interface{} // 登陆账号
	MerType             interface{} // 用户类型  1企业、 2个人(自然人)、3个体工商户
	CreateDate          interface{} // 开户日期格式:YYYYMMDD
	CorpName            interface{} // 企业的公司全称
	SocialCreditCode    interface{} // 企业的统一社会信用代码
	LicenseStartDate    interface{} // 企业营业执照起始日期
	LicenseEndDate      interface{} // 证件有效期为长期填写:99991231
	LicenseImg          interface{} // 证件照片
	CorpBusinessAddress interface{} // 企业的营业地址
	CorpRegAddress      interface{} // 企业的注册地址
	CorpFixedTelephone  interface{} // 企业固定电话
	BusinessScope       interface{} // 企业经营范围
	LegalName           interface{} // 企业法人姓名
	LegalCertType       interface{} // 参考证件类型
	LegalCertId         interface{} // 与证件类型对应
	LegalCertStartDate  interface{} // 证件起始日期
	LegalCertEndDate    interface{} // 证件有效期为长期填写:99991231
	LegalCertFront      interface{} // 身份证正面
	LegalCertBack       interface{} // 身份证反面
	LegalMobile         interface{} // 法人手机号码
	ContactName         interface{} // 企业联系姓名
	ContactMobile       interface{} // 企业联系人手机号
	ContractEmail       interface{} // 企业联系人邮箱地址
	AgentNo             interface{} // 代理商标识
	StartUsing          interface{} // 是否开始使用 0默认,100开始,110暂停,120禁用
	StartUseTime        *gtime.Time // 开始使用时间
	State               interface{} // 用户状态 60待审核,80审核中,100正常 ,210禁用,110审核拒绝,120补充资料中
	CreateTime          *gtime.Time // 创建时间
	ModifyTime          *gtime.Time // 更新时间
}

UsersMerchant is the golang structure of table users_merchant for DAO operations like Where/Data.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL