Skip to content

Commit b4afaa5

Browse files
committed
test controller
1 parent 8bdbaee commit b4afaa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crawler/src/main/java/info/xiaomo/crawler/schedule/ScheduledTasks.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ constructor(private val shikigamaService: ShikigamaService) {
4141
val shikigamiModel = shikigamaService.findAll()
4242
for (aShikigamiModel in shikigamiModel) {
4343
val url = aShikigamiModel.image
44-
DownUtil.download(url, "D:\\yys\\")
44+
DownUtil.download(url!!, "D:\\yys\\")
4545
LOGGER.debug("开始下载图片:{}", url)
4646
}
4747
}

0 commit comments

Comments
 (0)