|
@@ -120,7 +120,7 @@ public class TestController {
|
|
list.add(9767096L);
|
|
list.add(9767096L);
|
|
list.add(9743738L);
|
|
list.add(9743738L);
|
|
list.add(9812671L);*/
|
|
list.add(9812671L);*/
|
|
- list.add(9647490L);
|
|
|
|
|
|
+ list.add(9845267L);
|
|
|
|
|
|
|
|
|
|
for (int i = 0; i < list.size(); i++) {
|
|
for (int i = 0; i < list.size(); i++) {
|
|
@@ -172,7 +172,8 @@ public class TestController {
|
|
@GetMapping(value = "/updateUnit")
|
|
@GetMapping(value = "/updateUnit")
|
|
public void updateUnit() throws Exception {
|
|
public void updateUnit() throws Exception {
|
|
List<Long> list = new ArrayList();
|
|
List<Long> list = new ArrayList();
|
|
- list.add(9647490L);
|
|
|
|
|
|
+
|
|
|
|
+ list.add(9845267L);
|
|
for (int i = 0; i < list.size(); i++) {
|
|
for (int i = 0; i < list.size(); i++) {
|
|
Long accountId = list.get(i);
|
|
Long accountId = list.get(i);
|
|
CtopOauthToken oauthToken = oauthTokenService.getTokenByAccountId(accountId);
|
|
CtopOauthToken oauthToken = oauthTokenService.getTokenByAccountId(accountId);
|
|
@@ -201,7 +202,7 @@ public class TestController {
|
|
try {
|
|
try {
|
|
JSONObject json = new JSONObject();
|
|
JSONObject json = new JSONObject();
|
|
json.put("unitId", group.getUnitId());
|
|
json.put("unitId", group.getUnitId());
|
|
- json.put("cpaBid", 35 * 1000);
|
|
|
|
|
|
+ json.put("cpaBid", 62.99 * 1000);
|
|
// json.put("gender", "2");
|
|
// json.put("gender", "2");
|
|
batchService.updateUnit(json, oauthToken);
|
|
batchService.updateUnit(json, oauthToken);
|
|
Thread.sleep(1000);
|
|
Thread.sleep(1000);
|