feat: 打印孔网返回的原始响应数据

This commit is contained in:
ShenQiLun 2026-06-26 17:18:50 +08:00
parent 3975846f77
commit 193d0a35ca

View File

@ -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"`