Jelajahi Sumber

头条刷新账户名称任务

songyh 4 tahun lalu
induk
melakukan
7e5d84a30e

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

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