|
@@ -82,8 +82,8 @@ public class TestController {
|
|
|
private IMaterialParameterService parameterService;
|
|
|
@Autowired
|
|
|
private IMaterialAscriptionService ascriptionService;
|
|
|
- /* @Autowired
|
|
|
- private IMaterialTagService tagService;*/
|
|
|
+ /* @Autowired
|
|
|
+ private IMaterialTagService tagService;*/
|
|
|
@Autowired
|
|
|
private IMaterialImageInfoService iMaterialImageInfoService;
|
|
|
@Autowired
|
|
@@ -138,6 +138,8 @@ public class TestController {
|
|
|
private IMaterialUploadService materialUploadService;
|
|
|
@Autowired
|
|
|
private IKuaishouProgramCreativeService kuaishouProgramCreativeService;
|
|
|
+ @Autowired
|
|
|
+ private IRefreshTokenService refreshTokenService;
|
|
|
|
|
|
@Value("${xxl-job.requestUrl}")
|
|
|
private String jobUrl;
|
|
@@ -244,15 +246,6 @@ public class TestController {
|
|
|
list.add(10299241L);
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
for (int i = 0; i < list.size(); i++) {
|
|
|
Long accountId = list.get(i);
|
|
|
CtopOauthToken token = oauthTokenService.getTokenByAccountId(accountId);
|
|
@@ -481,6 +474,12 @@ public class TestController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ @GetMapping("/getKuaiShouRefresh")
|
|
|
+ public void getKuaiShouRefresh(Long projectId) {
|
|
|
+
|
|
|
+ refreshTokenService.getKuaiShouRefresh();
|
|
|
+ }
|
|
|
+
|
|
|
@GetMapping("/uploadVideo")
|
|
|
public String uploadVideo(Long projectId) {
|
|
|
|
|
@@ -1617,10 +1616,8 @@ public class TestController {
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
@GetMapping("getMaterialListDemo")
|
|
|
- public void getMaterialList(){
|
|
|
+ public void getMaterialList() {
|
|
|
|
|
|
CtopOauthToken token = new CtopOauthToken();
|
|
|
token.setAccountId(1696831659659278L);
|
|
@@ -1630,5 +1627,4 @@ public class TestController {
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
}
|