Browse Source

修改uid

xueyiming 4 months ago
parent
commit
f63239ac0b

+ 1 - 1
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/local/PlanAccountService.java

@@ -17,7 +17,7 @@ public interface PlanAccountService {
 
     List<PlanAccount> getNormalPlanAccount();
 
-    List<PlanAccount> getPlanAccount(String accountId);
+    List<PlanAccount> getPlanAccount(String planId, String accountId);
 
     List<Plan> getPlanList();
 

+ 1 - 1
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/local/impl/ContentServiceImpl.java

@@ -220,7 +220,7 @@ public class ContentServiceImpl implements ContentService {
         }
         SingleVideoSource singleVideoSource = singleVideoSources.get(0);
         VideoDetail videoDetail = videoService.publish(singleVideoSource.getVideoOssPath(),
-                singleVideoSource.getOutAccountId(), singleVideoSource.getArticleTitle());
+                "69637509", singleVideoSource.getArticleTitle());
         videoDetail.setCrawlerVideoId(singleVideoSource.getId());
         videoDetail.setKimiTitle(singleVideoSource.getArticleTitle());
         videoDetail.setUid(singleVideoSource.getOutAccountId());

+ 2 - 1
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/local/impl/PlanAccountServiceImpl.java

@@ -75,9 +75,10 @@ public class PlanAccountServiceImpl implements PlanAccountService {
         return planAccountMapper.selectByExample(example);
     }
 
-    public List<PlanAccount> getPlanAccount(String accountId) {
+    public List<PlanAccount> getPlanAccount(String planId, String accountId) {
         PlanAccountExample example = new PlanAccountExample();
         example.createCriteria().andCreateTimeGreaterThan(DateUtil.getThatDayDate())
+                .andPlanIdEqualTo(planId)
                 .andAccountIdEqualTo(accountId);
         return planAccountMapper.selectByExample(example);
     }