소스 검색

头条刷新账户名称任务

songyh 4 년 전
부모
커밋
7e5d84a30e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      module-job-bytedance/src/main/java/cn/com/ctop/job/bytedance/handler/ByteDanceRefreshTokenJob.java

+ 1 - 1
module-job-bytedance/src/main/java/cn/com/ctop/job/bytedance/handler/ByteDanceRefreshTokenJob.java

@@ -28,6 +28,7 @@ public class ByteDanceRefreshTokenJob {
 
     @Autowired
     private IUserAllocationService userAllocationService;
+
     @XxlJob("refreshAuthName")
     public void refreshAuthName() throws Exception {
         List<UserAllocation> userAllocationList = userAllocationService.listByMediaId(null,0);
@@ -37,6 +38,5 @@ public class ByteDanceRefreshTokenJob {
                 HttpUtils.httpGet(url,new HashMap<>(),new HashMap<>());
             });
         }
-        refreshTokenService.byteDanceRefresh(null);
     }
 }