fix comment system
This commit is contained in:
@ -539,6 +539,33 @@ func (h *OgentHandler) CreateMa(ctx context.Context, req *CreateMaReq) (CreateMa
|
||||
if v, ok := req.BskyURL.Get(); ok {
|
||||
b.SetBskyURL(v)
|
||||
}
|
||||
if v, ok := req.CidRoot.Get(); ok {
|
||||
b.SetCidRoot(v)
|
||||
}
|
||||
if v, ok := req.URIRoot.Get(); ok {
|
||||
b.SetURIRoot(v)
|
||||
}
|
||||
if v, ok := req.Root.Get(); ok {
|
||||
b.SetRoot(v)
|
||||
}
|
||||
if v, ok := req.Comment.Get(); ok {
|
||||
b.SetComment(v)
|
||||
}
|
||||
if v, ok := req.Blog.Get(); ok {
|
||||
b.SetBlog(v)
|
||||
}
|
||||
if v, ok := req.BlogURL.Get(); ok {
|
||||
b.SetBlogURL(v)
|
||||
}
|
||||
if v, ok := req.Domain.Get(); ok {
|
||||
b.SetDomain(v)
|
||||
}
|
||||
if v, ok := req.Host.Get(); ok {
|
||||
b.SetHost(v)
|
||||
}
|
||||
if v, ok := req.Feed.Get(); ok {
|
||||
b.SetFeed(v)
|
||||
}
|
||||
if v, ok := req.UpdatedAt.Get(); ok {
|
||||
b.SetUpdatedAt(v)
|
||||
}
|
||||
@ -646,6 +673,33 @@ func (h *OgentHandler) UpdateMa(ctx context.Context, req *UpdateMaReq, params Up
|
||||
if v, ok := req.BskyURL.Get(); ok {
|
||||
b.SetBskyURL(v)
|
||||
}
|
||||
if v, ok := req.CidRoot.Get(); ok {
|
||||
b.SetCidRoot(v)
|
||||
}
|
||||
if v, ok := req.URIRoot.Get(); ok {
|
||||
b.SetURIRoot(v)
|
||||
}
|
||||
if v, ok := req.Root.Get(); ok {
|
||||
b.SetRoot(v)
|
||||
}
|
||||
if v, ok := req.Comment.Get(); ok {
|
||||
b.SetComment(v)
|
||||
}
|
||||
if v, ok := req.Blog.Get(); ok {
|
||||
b.SetBlog(v)
|
||||
}
|
||||
if v, ok := req.BlogURL.Get(); ok {
|
||||
b.SetBlogURL(v)
|
||||
}
|
||||
if v, ok := req.Domain.Get(); ok {
|
||||
b.SetDomain(v)
|
||||
}
|
||||
if v, ok := req.Host.Get(); ok {
|
||||
b.SetHost(v)
|
||||
}
|
||||
if v, ok := req.Feed.Get(); ok {
|
||||
b.SetFeed(v)
|
||||
}
|
||||
if v, ok := req.UpdatedAt.Get(); ok {
|
||||
b.SetUpdatedAt(v)
|
||||
}
|
||||
|
Reference in New Issue
Block a user