diff --git a/internal/service/cmb.go b/internal/service/cmb.go index 7c8f8bf..5b8035b 100644 --- a/internal/service/cmb.go +++ b/internal/service/cmb.go @@ -48,6 +48,9 @@ func (s *VoucherService) CmbOrder(ctx http.Context) error { return ctx.JSON(400, err) } + replyBytes, _ := json.Marshal(reply) + log.Warnf("cmbOrder reply: %v", string(replyBytes)) + return ctx.JSON(200, reply) } @@ -122,6 +125,8 @@ func (s *VoucherService) CmbQuery(ctx http.Context) error { return ctx.JSON(400, err) } + replyBytes, _ := json.Marshal(reply) + log.Warnf("cmbQuery reply: %v", string(replyBytes)) return ctx.JSON(200, reply) }