|
@@ -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);
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|