feat: 打印孔网返回的原始响应数据
This commit is contained in:
parent
3975846f77
commit
193d0a35ca
@ -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"`
|
||||
|
||||
Loading…
Reference in New Issue
Block a user