新闻处理

This commit is contained in:
gs
2024-06-20 14:47:04 +08:00
parent 4b944f9d84
commit 146e9d9bc0
2 changed files with 8 additions and 2 deletions

View File

@@ -169,7 +169,7 @@ public class StockApiController {
@RequestMapping({"test.do"})
@ResponseBody
public ServerResponse test(@RequestParam("url") String url, @RequestParam("pageNum") Integer pageNum) {
public ServerResponse test(/*@RequestParam("url") String url, @RequestParam("pageNum") Integer pageNum*/) {
String news = stockService.getNews();
List<String> newsList = Arrays.asList(news.split("<a href="));
newsList = newsList.subList(1, newsList.size());