1
zyy
2026-05-19 83af5e3adc1e71c98617be0e1432860a13652df1
src/main/java/com/nq/service/impl/SiteNewsServiceImpl.java
@@ -140,9 +140,9 @@
            executor.submit(() ->
                    addNews(1, PropertiesUtil.getProperty("US_HTTP_API") + "stock-markets?key=" + PropertiesUtil.getProperty("US_KEY") + "&type=1")
            );
            executor.submit(() ->
            /*executor.submit(() ->
                    addNews(1, PropertiesUtil.getProperty("JP_HTTP_API") + "stock-markets?key=" + PropertiesUtil.getProperty("JP_KEY") + "&type=1")
            );
            );*/
        } finally {
            // 关闭线程池
            executor.shutdown();