|
@@ -12,16 +12,17 @@ public class ImportPaperByCourse {
|
|
|
|
|
|
private static Logger logger = LogManager.getLogger(ImportPaperByCourse.class);
|
|
|
private final static String sourceDir = "d:/yunkai/";
|
|
|
+ private static String batch = "230821";
|
|
|
|
|
|
- private static String host = "http://localhost:8008";
|
|
|
- private static String rootOrgId = "0";
|
|
|
- private static String key = "$SS:C_0_8";
|
|
|
- private static String token = "abf51dd054eb4192937d01904a1e966e";
|
|
|
+// private static String host = "http://localhost:8008";
|
|
|
+// private static String rootOrgId = "0";
|
|
|
+// private static String key = "$SS:C_0_8";
|
|
|
+// private static String token = "7a0628dab5a34322a8e8044a5f608079";
|
|
|
|
|
|
-// private static String host = "http://192.168.1.249:8008";
|
|
|
-// private static String rootOrgId = "17351";
|
|
|
-// private static String key = "U_C_17351_646523";
|
|
|
-// private static String token = "6537edc191d546349fd5a4cb9e74b94b";
|
|
|
+ private static String host = "http://192.168.1.249:8008";
|
|
|
+ private static String rootOrgId = "17351";
|
|
|
+ private static String key = "$SS:C_17351_646523";
|
|
|
+ private static String token = "e39a9783468e4b71b1758c64d83b8c98";
|
|
|
|
|
|
private static AtomicInteger count=new AtomicInteger(0);
|
|
|
|
|
@@ -35,6 +36,7 @@ public class ImportPaperByCourse {
|
|
|
param.put("rootOrgId", rootOrgId);
|
|
|
param.put("key", key);
|
|
|
param.put("token", token);
|
|
|
+ param.put("batch", batch);
|
|
|
MyProducer pro=new MyProducer();
|
|
|
pro.startDispose(MyConsumer.class, 2, param);
|
|
|
} catch (Exception e) {
|