diff --git a/internal/service/goods_service.go b/internal/service/goods_service.go index e7b31e4..fdfec93 100644 --- a/internal/service/goods_service.go +++ b/internal/service/goods_service.go @@ -307,6 +307,8 @@ func (s *GoodsService) outGetAllGoods(isbn string, bookName string, author strin return nil, fmt.Errorf("HTTP错误: %s", respSpt.Status) } + log.Printf("[outGetAllGoods] 孔网响应数据: %s", bodySpt) + // 解析响应 var apiSptResp struct { Status int `json:"status"`