ソースを参照

头条刷新账户名称任务

songyh 4 年 前
コミット
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
     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);
     }
 }