Documentation
¶
Index ¶
- Variables
- func CreateGroupRecommend(value *GroupRecommend) error
- func UpdateGroupRecommend(wheres, updates map[string]interface{}) error
- type ArticleFile
- type ArticleGlance
- type ArticleImage
- type ArticleImageRep
- type ArticleLanguage
- type ArticleShare
- type GroupCategory
- type GroupCategoryList
- type GroupLanguage
- type GroupMember
- type GroupMemberInvite
- type GroupMemberListRep
- type GroupMemberRep
- type GroupRecommend
- func GetGroupRecommendByWheres(wheres map[string]interface{}) (*GroupRecommend, error)
- func GetGroupRecommendMultiByInWheresLimit(wheres, ins map[string]interface{}, orders string, limit, offset int) ([]GroupRecommend, error)
- func GetGroupRecommendMultiByWheres(wheres map[string]interface{}) ([]GroupRecommend, error)
- type GroupVisitLog
Constants ¶
This section is empty.
Variables ¶
View Source
var GroupRecommendReal = &GroupRecommend{}
Functions ¶
func CreateGroupRecommend ¶
func CreateGroupRecommend(value *GroupRecommend) error
func UpdateGroupRecommend ¶
Types ¶
type ArticleFile ¶
type ArticleFile struct {
ID int `json:"id"` // 自动编号
Version int `json:"version"` // 数据库版本
CreatedAt int `json:"created_at"` // 创建时间
UpdatedAt int `json:"updated_at"` // 更新时间
DeleteAt int `json:"delete_at"` // 删除时间
Status int `json:"status"` // 记录状态: -1=删除 0=可正常使用
RecID string `json:"rec_id"` // 记录编号
ArticleID string `json:"article_id"` // 文章编号
FileID string `json:"file_id"` // 文件编号
FileIndex int `json:"file_index"` // 文件所在文章中的顺序
Signature string `json:"signature"` // 数据签名
}
type ArticleGlance ¶
type ArticleGlance struct {
ID int `json:"id"` // 自动编号
Version int `json:"version"` // 数据库版本
CreatedAt int `json:"created_at"` // 创建时间
UpdatedAt int `json:"updated_at"` // 更新时间
DeleteAt int `json:"delete_at"` // 删除时间
Status int `json:"status"` // 记录状态: -1=删除 0=阅读
RecID string `json:"rec_id"` // 记录编号
ArticleID string `json:"article_id"` // 文章编号
InUid string `json:"in_uid"` // 用户内部编号(内部流转)
GroupID string `json:"group_id"` // 圈子编号
LinkID string `json:"link_id"` // 文章外链编号
Signature string `json:"signature"` // 数据签名
CompanyDomain string `json:"company_domain"`
}
type ArticleImage ¶
type ArticleImage struct {
ID int `json:"id"` // 自动编号
Version int `json:"version"` // 数据库版本
CreatedAt int `json:"created_at"` // 创建时间
UpdatedAt int `json:"updated_at"` // 更新时间
DeleteAt int `json:"delete_at"` // 删除时间
Status int `json:"status"` // 记录状态: -1=删除 0=可正常使用
RecID string `json:"rec_id"` // 记录编号
ArticleID string `json:"article_id"` // 文章编号
ImageID string `json:"image_id"` // 图片编号
ImageIndex int `json:"image_index"` // 图片所在文章中的顺序
Signature string `json:"signature"` // 数据签名
DtcpId string `json:"dtcp_id"` // DTCP id
DtcpDna string `json:"dtcp_dna"` // DTCP dna
DtcpParentDna string `json:"dtcp_parent_dna"` // DTCP Parent dna
}
type ArticleImageRep ¶
type ArticleImageRep struct {
ID int `json:"id"`
CreatedAt int `json:"created_at"`
UpdatedAt int `json:"updated_at"`
RecID string `json:"rec_id"`
ArticleID string `json:"article_id"`
ImageID string `json:"image_id"`
ImageIndex int `json:"image_index"`
}
func (ArticleImageRep) TableName ¶
func (ai ArticleImageRep) TableName() string
type ArticleLanguage ¶
type ArticleLanguage struct {
ID int `json:"id"` // 自动编号
Version int `json:"version"` // 数据库版本
CreatedAt int `json:"created_at"` // 创建时间
UpdatedAt int `json:"updated_at"` // 更新时间
DeleteAt int `json:"delete_at"` // 删除时间
Status int `json:"status"` // 记录状态: -1=删除 0=可正常使用
RecID string `json:"rec_id"` // 记录编号
ArticleID string `json:"article_id"` // 文章编号
LanguageType int `json:"language_type"` // 0=中文 1=英文 2=日文 3=韩文
Signature string `json:"signature"` // 数据签名
}
type ArticleShare ¶
type ArticleShare struct {
}
type GroupCategory ¶
type GroupCategory struct {
ID int `json:"id"` // 自动编号
Version int `json:"version"` // 数据库版本
CreatedAt int `json:"created_at"` // 创建时间
UpdatedAt int `json:"updated_at"` // 更新时间
DeleteAt int `json:"delete_at"` // 删除时间
Status int `json:"status"` // 记录状态: -1=删除 0=可正常使用
RecID string `json:"rec_id"` // 记录编号
CategoryID string `json:"category_id"` // 圈子类别编号
GroupID string `json:"group_id"` // 圈子编号
Signature string `json:"signature"` // 数据签名
}
type GroupCategoryList ¶
type GroupCategoryList struct {
ID int `json:"id"` // 自动编号
Version int `json:"version"` // 数据库版本
CreatedAt int `json:"created_at"` // 创建时间
UpdatedAt int `json:"updated_at"` // 更新时间
DeleteAt int `json:"delete_at"` // 删除时间
Status int `json:"status"` // 记录状态: -1=删除 0=可正常使用
CategoryID string `json:"category_id"` // 圈子类别编号
CategoryDna string `json:"category_dna"` // 圈子类别dna
CategoryParentDna string `json:"category_parent_dna"` // 圈子类别父dna
NameZh string `json:"name_zh"` // 中文名称
NameEn string `json:"name_en"` // 英文名称
NameJa string `json:"name_ja"` // 日文名称
NameKo string `json:"name_ko"` // 韩文名称
Signature string `json:"signature"` // 数据签名
}
type GroupLanguage ¶
type GroupLanguage struct {
ID int `json:"id"` // 自动编号
Version int `json:"version"` // 数据库版本
CreatedAt int `json:"created_at"` // 创建时间
UpdatedAt int `json:"updated_at"` // 更新时间
DeleteAt int `json:"delete_at"` // 删除时间
Status int `json:"status"` // 记录状态: -1=删除 0=可正常使用
RecID string `json:"rec_id"` // 记录编号
GroupID string `json:"group_id"` // 圈子编号
LanguageType int `json:"language_type"` // 0=中文 1=英文 2=日文 3=韩文
Signature string `json:"signature"` // 数据签名
}
type GroupMember ¶
type GroupMember struct {
ID int `json:"id"` // 自动编号
Version int `json:"version"` // 数据库版本
CreatedAt int `json:"created_at"` // 创建时间
UpdatedAt int `json:"updated_at"` // 更新时间
DeleteAt int `json:"delete_at"` // 删除时间
Status int `json:"status"` // 记录状态: -1=删除 0=可正常使用 1=申请加入 2=拒绝加入
RecID string `json:"rec_id"` // 记录编号
GroupID string `json:"group_id"` // 圈子编号
InUid string `json:"in_uid"` // 圈子成员内部编号(内部流转)
Signature string `json:"signature"` // 数据签名
IsManage int `json:"is_manage"` // 是否是管理员,1=管理员
IsNotify int `json:"is_notify"` // 是否推送 0=不推送,1=推送
Weight float64 `json:"weight"` // 排序权重
DtcpId string `json:"dtcp_id"` // DTCP id
DtcpDna string `json:"dtcp_dna"` // DTCP dna
DtcpParentDna string `json:"dtcp_parent_dna"` // DTCP Parent dna
}
type GroupMemberInvite ¶
type GroupMemberInvite struct {
ID int `json:"id"` // 自动编号
Version int `json:"version"` // 数据库版本
CreatedAt int `json:"created_at"` // 创建时间
UpdatedAt int `json:"updated_at"` // 更新时间
DeleteAt int `json:"delete_at"` // 删除时间
Status int `json:"status"` // 记录状态: -1=删除 0=可正常使用 1=邀请加入 2=拒绝邀请
RecID string `json:"rec_id"` // 记录编号
GroupID string `json:"group_id"` // 圈子编号
InUid string `json:"in_uid"` // 圈子成员内部编号(内部流转)
Signature string `json:"signature"` // 数据签名
}
type GroupMemberListRep ¶
type GroupMemberListRep struct {
ID int `json:"id"` // 自动编号
Version int `json:"version"` // 数据库版本
CreatedAt int `json:"created_at"` // 创建时间
UpdatedAt int `json:"updated_at"` // 更新时间
DeleteAt int `json:"delete_at"` // 删除时间
Status int `json:"status"` // 记录状态: -1=删除 0=可正常使用 1=申请加入 2=拒绝加入
RecID string `json:"rec_id"` // 记录编号
GroupID string `json:"group_id"` // 圈子编号
InUid string `json:"in_uid"` // 圈子成员内部编号(内部流转)
Signature string `json:"signature"` // 数据签名
IsManage int `json:"is_manage"` // 是否是管理员,1=管理员
Member UserRep `json:"member" gorm:"ForeignKey:InUid;AssociationForeignKey:in_uid"`
}
func (*GroupMemberListRep) TableName ¶
func (member *GroupMemberListRep) TableName() string
type GroupMemberRep ¶
type GroupMemberRep struct {
CreatedAt int `json:"created_at"`
UpdatedAt int `json:"updated_at"`
Status int `json:"status"`
GroupID string `json:"group_id"`
IsManage int `json:"is_manage"`
}
func (*GroupMemberRep) TableName ¶
func (member *GroupMemberRep) TableName() string
type GroupRecommend ¶
type GroupRecommend struct {
ID int `json:"id"` // 自动编号
CreatedAt int `json:"created_at"` // 创建时间
UpdatedAt int `json:"updated_at"` // 更新时间
Status int `json:"status"` // 记录状态: 0=可正常使用 1=取消推荐
RecID string `json:"rec_id"` // 记录编号
GroupID string `json:"group_id"` // 圈子编号
InUid string `json:"in_uid"` // 用户内部编号(内部流转)
}
func GetGroupRecommendByWheres ¶
func GetGroupRecommendByWheres(wheres map[string]interface{}) (*GroupRecommend, error)
func GetGroupRecommendMultiByInWheresLimit ¶
func GetGroupRecommendMultiByInWheresLimit(wheres, ins map[string]interface{}, orders string, limit, offset int) ([]GroupRecommend, error)
func GetGroupRecommendMultiByWheres ¶
func GetGroupRecommendMultiByWheres(wheres map[string]interface{}) ([]GroupRecommend, error)
type GroupVisitLog ¶
type GroupVisitLog struct {
ID int `json:"id"` // 自动编号
CreatedAt int `json:"created_at"` // 创建时间
UpdatedAt int `json:"updated_at"` // 更新时间
Status int `json:"status"` // 记录状态: 0=可正常使用 1删除
RecID string `json:"rec_id"` // 记录编号
GroupID string `json:"group_id"` // 圈子编号
InUid string `json:"in_uid"` // 圈子成员内部编号(内部流转)
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.