|
@@ -32,16 +32,6 @@ public class SampleTest {
|
|
|
@Autowired
|
|
|
private IAppiumTaskService appiumTaskService;
|
|
|
@Test
|
|
|
- public void testGetKuaishouId() {
|
|
|
- jobService.loginTask(2L);
|
|
|
- }
|
|
|
-
|
|
|
- @Test
|
|
|
- public void testKsDown() {
|
|
|
- appiumTaskService.runTask(1, 1);
|
|
|
- }
|
|
|
-
|
|
|
- @Test
|
|
|
public void testKs() throws InterruptedException {
|
|
|
String url = "https://ad.e.kuaishou.com/#/welcome?redirectUrl=https%3A%2F%2Fad.e.kuaishou.com%2F%23%2Findex";
|
|
|
System.getProperties().setProperty("webdriver.chrome.driver", chromeDriver);
|
|
@@ -109,19 +99,6 @@ public class SampleTest {
|
|
|
}
|
|
|
|
|
|
@Test
|
|
|
- public void testCrawler() {
|
|
|
- String account = "";
|
|
|
- String password = "";
|
|
|
- String creativeName = "";
|
|
|
- //1:获取快手账号id
|
|
|
- String ksId = jobService.loginTask(2L);
|
|
|
- //2:绑定体验账号
|
|
|
- boolean isbind = jobService.bindCreative(account, password, creativeName, ksId);
|
|
|
- //3:转化
|
|
|
- appiumTaskService.runTask(1, 1);
|
|
|
- }
|
|
|
-
|
|
|
- @Test
|
|
|
public void testMq() {
|
|
|
Sender sender = new Sender();
|
|
|
sender.send();
|