Browse Source

test 修改易车出价

yumeng 4 năm trước cách đây
mục cha
commit
cdc7e23940

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

@@ -111,7 +111,7 @@ public class TestController {
         list.add(7922257L);*/
 
 
-        list.add(9556344L);
+       /* list.add(9556344L);
         list.add(9556274L);
         list.add(9767055L);
         list.add(9743727L);
@@ -119,8 +119,8 @@ public class TestController {
         list.add(9792538L);
         list.add(9767096L);
         list.add(9743738L);
-        list.add(9812671L);
-        list.add(9838554L);
+        list.add(9812671L);*/
+        list.add(9647490L);
 
 
         for (int i = 0; i < list.size(); i++) {
@@ -172,18 +172,7 @@ public class TestController {
     @GetMapping(value = "/updateUnit")
     public void updateUnit() throws Exception {
         List<Long> list = new ArrayList();
-
-        list.add(9556344L);
-        list.add(9556274L);
-        list.add(9767055L);
-        list.add(9743727L);
-        list.add(9743746L);
-        list.add(9792538L);
-        list.add(9767096L);
-        list.add(9743738L);
-        list.add(9812671L);
-        list.add(9838554L);
-
+        list.add(9647490L);
         for (int i = 0; i < list.size(); i++) {
             Long accountId = list.get(i);
             CtopOauthToken oauthToken = oauthTokenService.getTokenByAccountId(accountId);
@@ -212,7 +201,7 @@ public class TestController {
                         try {
                             JSONObject json = new JSONObject();
                             json.put("unitId", group.getUnitId());
-                            json.put("cpaBid", 24 * 1000);
+                            json.put("cpaBid", 35 * 1000);
                             //     json.put("gender", "2");
                             batchService.updateUnit(json, oauthToken);
                             Thread.sleep(1000);