完成爬虫后端服务管理,完成爬虫调用

This commit is contained in:
yyhouc 2023-05-17 17:26:45 +08:00
parent 620d2f3acc
commit 3c58250ddf
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ public class NewsServiceImpl extends ServiceImpl<NewsMapper, News>
if (CollectionUtil.isEmpty(content)) {
return R.fail("文件内容为空!");
}
if (typeData == 1) {
if (typeData <= 1) {
for (int i = 0; i < content.size(); ++i) {
List<Object> row = (List) content.get(i);
if (i != 0) {