|
@ -1590,6 +1590,7 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleDao, ArticleEntit |
|
|
articleCover.setCustomerId(customerId); |
|
|
articleCover.setCustomerId(customerId); |
|
|
articleCover.setArticleId(article.getId()); |
|
|
articleCover.setArticleId(article.getId()); |
|
|
articleCover.setImgUrl(formDTO.getImgUrl()); |
|
|
articleCover.setImgUrl(formDTO.getImgUrl()); |
|
|
|
|
|
articleCover.setAuditStatus("pass"); |
|
|
articleCoverDao.insert(articleCover); |
|
|
articleCoverDao.insert(articleCover); |
|
|
} |
|
|
} |
|
|
// 8.更新redis
|
|
|
// 8.更新redis
|
|
@ -1657,6 +1658,7 @@ public class ArticleServiceImpl extends BaseServiceImpl<ArticleDao, ArticleEntit |
|
|
draftCover.setCustomerId(customerId); |
|
|
draftCover.setCustomerId(customerId); |
|
|
draftCover.setDraftId(draft.getId()); |
|
|
draftCover.setDraftId(draft.getId()); |
|
|
draftCover.setImgUrl(formDTO.getImgUrl()); |
|
|
draftCover.setImgUrl(formDTO.getImgUrl()); |
|
|
|
|
|
draftCover.setAuditStatus("pass"); |
|
|
draftCoverDao.insert(draftCover); |
|
|
draftCoverDao.insert(draftCover); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|