fix(card_sender): 修正日志中飞鱼查询返回数据的显示问题
- 将日志中飞鱼查询响应数据由解析后的结构体改为原始响应字符串显示 - 保证日志信息更准确地反映服务器返回内容 - 优化日志调试体验,便于排查问题
This commit is contained in:
@@ -181,7 +181,7 @@ func (s *SendCardTaskTypeFlyFishV2) HandleSendCardTask(ctx context.Context, orde
|
||||
Message string `json:"message"`
|
||||
}
|
||||
err = json.Unmarshal(resp.Body(), &respData)
|
||||
otelTrace.Logger.WithContext(ctx).Info("飞鱼查询返回", zap.Any("respData", respData), zap.Any("formData", formData))
|
||||
otelTrace.Logger.WithContext(ctx).Info("飞鱼查询返回", zap.Any("respData", resp.String()), zap.Any("formData", formData))
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user