收趣图片替换成https

This commit is contained in:
HelloWorld 2020-04-22 17:54:48 +08:00
parent a25bd7ce63
commit 3b17d30a34
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ module.exports = [{
createdAt: think.datetime(item.updatetime > item.createtime ? item.createtime : item.updatetime),
lastClick: think.datetime(item.updatetime <= item.createtime ? item.createtime : item.updatetime),
snap: item.images_upd,
icon: item.sourceLogo
icon: item.sourceLogo.replace("http://shouqu", "https://shouqu")
})
}
await think.model('hot_bookmarks').addMany(dataList, { replace: true });