|
|
@@ -50,6 +50,7 @@ public class Crawler4JavdbServiceImpl implements Crawler4JavdbService {
|
|
|
private final static ScheduledExecutorService scheduler = new ScheduledThreadPoolExecutor(10);
|
|
|
|
|
|
private static final WxCpServiceImpl wxCpService;
|
|
|
+
|
|
|
static {
|
|
|
WxCpDefaultConfigImpl wxCpDefaultConfig = new WxCpDefaultConfigImpl();
|
|
|
wxCpDefaultConfig.setCorpId("ww95a4adba56acb55f");
|
|
|
@@ -116,10 +117,12 @@ public class Crawler4JavdbServiceImpl implements Crawler4JavdbService {
|
|
|
params.put("btnTxt", "影片详情");
|
|
|
monitorAlarm4APP_TEXT_CARD(content, params);
|
|
|
|
|
|
- Thread.sleep(1000);
|
|
|
+ Thread.sleep(2000);
|
|
|
}
|
|
|
|
|
|
- videoMonitorActorsMapper.insertLogList(insertCodeList, videoMonitorActors.getSymbol());
|
|
|
+ if (insertCodeList.size() > 0) {
|
|
|
+ videoMonitorActorsMapper.insertLogList(insertCodeList, videoMonitorActors.getSymbol());
|
|
|
+ }
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}
|