🎨 improvement of comment-related code and database structure

This commit is contained in:
landaiqing
2024-11-22 00:56:20 +08:00
parent f32ac241a6
commit 531192b121
47 changed files with 761 additions and 621 deletions

View File

@@ -1,11 +0,0 @@
package types
import "github.com/chenmingyong0423/go-mongox/v2"
type CommentImage struct {
mongox.Model `bson:",inline"`
TopicID string `bson:"topic_id"`
CommentID string `bson:"comment_id"`
UserID string `bson:"user_id"`
Images []string `bson:"images"`
}