feat(posts): add post reference/internal linking functionality
Add support for referencing other posts within messages through a new post_ref segment type. Includes new PostReference model to track relationships, PostRefService for processing references, and new endpoints for post suggestions, related posts, and reference click tracking.
This commit is contained in:
@@ -176,6 +176,9 @@ func autoMigrate(db *gorm.DB) error {
|
||||
|
||||
// 用户资料审核相关
|
||||
&UserProfileAudit{},
|
||||
|
||||
// 帖子内链引用关系
|
||||
&PostReference{},
|
||||
)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user