|
@@ -104,9 +104,15 @@ public class TestController {
|
|
|
tokenQueryWrapper.eq("media_id", 2);
|
|
|
List<CtopOauthToken> ctopOauthTokens = tokenMapper.selectList(tokenQueryWrapper);
|
|
|
for (CtopOauthToken token : ctopOauthTokens) {
|
|
|
- kuaishouInterfaceService.getVideoList(token, null, null);
|
|
|
- kuaishouInterfaceService.getImageList(token, null, null);
|
|
|
- kuaishouInterfaceService.getCreativeList(token, null, null);
|
|
|
+ try {
|
|
|
+ kuaishouInterfaceService.getVideoList(token, null, null);
|
|
|
+ kuaishouInterfaceService.getImageList(token, null, null);
|
|
|
+ kuaishouInterfaceService.getCreativeList(token, null, null);
|
|
|
+
|
|
|
+ } catch (Exception e) {
|
|
|
+ e.printStackTrace();
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
return "Success";
|
|
|
}
|