完成爬虫后端服务管理,完成爬虫调用
This commit is contained in:
parent
620d2f3acc
commit
3c58250ddf
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue