@@ -0,0 +1,17 @@
|
||||
package rjctmpltmod
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"go.mongodb.org/mongo-driver/bson/primitive"
|
||||
)
|
||||
|
||||
type Edit struct {
|
||||
ID primitive.ObjectID `json:"id" bson:"_id"`
|
||||
Content string `json:"content" bson:"content"`
|
||||
UpdatedAt time.Time `json:"updatedAt" bson:"updatedAt"` //评论发表时间
|
||||
}
|
||||
|
||||
type FindReq struct {
|
||||
Type string `json:"type" bson:"type"`
|
||||
}
|
||||
Reference in New Issue
Block a user