fix 修复商品链接不正确的bug
All checks were successful
Build image / build (push) Successful in 2m22s

This commit is contained in:
timerzz 2025-03-29 20:27:52 +08:00
parent e42a17f6c9
commit 8aa605ff87

View File

@ -281,10 +281,11 @@ func (c *Controller) crawlUpdateBags() {
Exclude: true,
}
} else {
link, _ := url.JoinPath(c.client.BaseUrl(), item.Url)
pArticle = v2.ProviderArticle{
Pid: article.Pid,
Brand: article.Brand,
Link: item.Url,
Link: link,
Image: article.Image,
ProviderId: c.providerId,
SkuID: article.Pid,