Browse Source

图片审核状态

dev
zxc 3 years ago
parent
commit
0022b36842
  1. 2
      epmet-module/gov-voice/gov-voice-server/src/main/java/com/epmet/service/impl/ArticleServiceImpl.java

2
epmet-module/gov-voice/gov-voice-server/src/main/java/com/epmet/service/impl/ArticleServiceImpl.java

@ -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);
} }
} }

Loading…
Cancel
Save