yumeng 4 vuotta sitten
vanhempi
commit
9c96faaaf5

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

@@ -109,20 +109,17 @@ public class TestController {
         list.add(7882996L);
         list.add(7883032L);
         list.add(7922257L);*/
-        list.add(9538319L);
-        list.add(9643738L);
-        list.add(9664230L);
-        list.add(9643754L);
-        list.add(9538300L);
-        list.add(9643726L);
-        //  list.add(9556344L);
+
+        list.add(9556344L);
+        list.add(9743738L);
+        list.add(9743727L);
 
 
         for (int i = 0; i < list.size(); i++) {
             Long accountId = list.get(i);
             CtopOauthToken oauthToken = oauthTokenService.getTokenByAccountId(accountId);
-            kuaishouInterfaceService.getCampaignList(oauthToken, null, null);
-            //   kuaishouInterfaceService.getGroupList(oauthToken, null, null);
+            //    kuaishouInterfaceService.getCampaignList(oauthToken, null, null);
+            kuaishouInterfaceService.getGroupList(oauthToken, null, null);
         }
 
     }
@@ -168,6 +165,8 @@ public class TestController {
     public void updateUnit() throws Exception {
         List<Long> list = new ArrayList();
         list.add(9556344L);
+        list.add(9743738L);
+        list.add(9743727L);
         for (int i = 0; i < list.size(); i++) {
             Long accountId = list.get(i);
             CtopOauthToken oauthToken = oauthTokenService.getTokenByAccountId(accountId);
@@ -195,7 +194,7 @@ public class TestController {
                         try {
                             JSONObject json = new JSONObject();
                             json.put("unitId", group.getUnitId());
-                            json.put("cpaBid", 23 * 1000);
+                            json.put("cpaBid", 25 * 1000);
                             //     json.put("gender", "2");
                             batchService.updateUnit(json, oauthToken);
                             Thread.sleep(1000);