作者 yangfu

Merge branch 'dev' into test

... ... @@ -451,6 +451,7 @@ func (repository *ArticleRepository) ModelToDomainModel(from *models.Article) (*
Operator: from.Operator,
DeletedType: from.DeletedType,
IsDel: int(from.IsDel),
Cover: from.Cover,
}
return to, nil
}
... ... @@ -483,6 +484,7 @@ func (repository *ArticleRepository) DomainModelToModel(from *domain.Article) (*
Source: from.Source,
Operator: from.Operator,
DeletedType: from.DeletedType,
Cover: from.Cover,
}
// err := copier.Copy(to, from)
return to, nil
... ...