修复BUG
This commit is contained in:
parent
d1a3901af1
commit
9ba883eed3
|
@ -70,7 +70,7 @@ public class CrawlInfoController {
|
|||
@ApiOperation(value = "提交", notes = "传入CrawlInfo")
|
||||
@PostMapping("/submit")
|
||||
public R submit(@ApiParam(value = "CrawlInfo对象", required = true) @RequestBody List<CrawlInfo> crawlInfo) {
|
||||
boolean bool=crawlInfoService.saveBatch(crawlInfo);
|
||||
boolean bool=crawlInfoService.saveOrUpdateBatch(crawlInfo);
|
||||
return R.data(bool?crawlInfo:1042);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue