...
|
...
|
@@ -2,6 +2,7 @@ package article |
|
|
|
|
|
import (
|
|
|
"context"
|
|
|
|
|
|
"github.com/samber/lo"
|
|
|
"gitlab.fjmaimaimai.com/allied-creation/sumifcc-discuss/cmd/discuss/interanl/pkg/domain"
|
|
|
"gitlab.fjmaimaimai.com/allied-creation/sumifcc-discuss/pkg/xerr"
|
...
|
...
|
@@ -26,6 +27,7 @@ func NewSystemArticleGetHistoryLogic(ctx context.Context, svcCtx *svc.ServiceCon |
|
|
}
|
|
|
}
|
|
|
|
|
|
// 获取文章的编辑历史记录详情
|
|
|
func (l *SystemArticleGetHistoryLogic) SystemArticleGetHistory(req *types.SystemArticleGetHistoryRequest) (resp *types.SystemArticleGetHistoryResponse, err error) {
|
|
|
var conn = l.svcCtx.DefaultDBConn()
|
|
|
backup, err := l.svcCtx.ArticleBackupRepository.FindOne(l.ctx, conn, req.Id)
|
...
|
...
|
|