소스 검색

修改删除文章为报警

xueyiming 9 달 전
부모
커밋
d97234c7c6
1개의 변경된 파일0개의 추가작업 그리고 11개의 파일을 삭제
  1. 0 11
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/local/impl/PublicContentServiceImpl.java

+ 0 - 11
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/local/impl/PublicContentServiceImpl.java

@@ -85,17 +85,6 @@ public class PublicContentServiceImpl {
         publishContentMapper.updateByPrimaryKeySelective(publishContent);
     }
 
-    public void delPublishContent(PublishContent publishContent) {
-        log.info("delPublishContent publishContent={}", publishContent);
-        MatchMiniprogramStatusParam statusParam = new MatchMiniprogramStatusParam();
-        statusParam.setStatus(3);
-        statusParam.setPublishContentId(publishContent.getPublishContentId());
-        statusParam.setErrorMsg("小程序视频数量不足");
-        aigcService.updateMatchMiniprogramStatus(statusParam);
-        //更新为失败
-        updatePublishContentStatus(3, publishContent.getId(), "小程序数量不足");
-    }
-
     public void updatePublishContentStatus(Integer status, Long publishContentId, String reason) {
         PublishContent publishContent = new PublishContent();
         publishContent.setStatus(status);