yumeng 5 éve
szülő
commit
770248a6d2

+ 4 - 4
jeecg-boot-module-system/src/main/java/org/jeecg/modules/ctop/controller/TestController.java

@@ -105,7 +105,7 @@ public class TestController {
 
             //1:查询当日数据
             QueryWrapper<CtopOauthToken> queryWrapper = new QueryWrapper<>();
-            queryWrapper.eq("media_id",2);
+            queryWrapper.eq("media_id", 2);
             queryWrapper.orderByDesc("create_time");
             List<CtopOauthToken> tokens = tokenService.list(queryWrapper);
             if (null == tokens || tokens.size() <= 0) {
@@ -220,7 +220,7 @@ public class TestController {
     }
 
 
-   /* @GetMapping(value = "/getVideoByAccountId")
+    @GetMapping(value = "/getVideoByAccountId")
     public String getVideoByAccountId(Long accountId) throws IOException {
 
         try {
@@ -233,7 +233,7 @@ public class TestController {
                     tokenQueryWrapper.eq("account_id", accountId);
                     CtopOauthToken one = tokenService.getOne(tokenQueryWrapper);
                     try {
-                        kuaishouInterfaceService.getSuZaoList(one.getAccessToken(), one.getAccountId(), 1);
+                        kuaishouInterfaceService.getSuZaoList(one.getAccessToken(), one.getAccountId(), 1, null, null);
                         String nowDate = DateUtils.getNowDate("yyyy-MM-dd");
                         String videoEndDate = DateUtils.addDay(nowDate, -180);
                         SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
@@ -260,7 +260,7 @@ public class TestController {
             e.printStackTrace();
         }
         return "Success";
-    }*/
+    }
 
 
     @GetMapping(value = "/createCutTask")