From 13cd99300f2cb9e3ebb7b709d8eba750e1b556e4 Mon Sep 17 00:00:00 2001 From: ziming Date: Wed, 21 May 2025 11:51:12 +0800 Subject: [PATCH] kg --- internal/biz/bo/wechat_voucher_bo.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/biz/bo/wechat_voucher_bo.go b/internal/biz/bo/wechat_voucher_bo.go index 4817f28..668c90c 100644 --- a/internal/biz/bo/wechat_voucher_bo.go +++ b/internal/biz/bo/wechat_voucher_bo.go @@ -4,9 +4,9 @@ import "voucher/internal/biz/vo" // ConsumeInformation 定义消费信息结构体 type ConsumeInformation struct { - ConsumeTime string `json:"consume_time"` - ConsumeMchid string `json:"consume_mchid"` - TransactionID string `json:"transaction_id"` + ConsumeTime string `json:"consume_time"` // 代金券核销时间,遵循rfc3339标准格式,格式为yyyy-MM-DDTHH:mm:ss+TIMEZONE + ConsumeMchid string `json:"consume_mchid"` // 核销代金券的商户号 + TransactionID string `json:"transaction_id"` // 微信支付系统生成的订单号 ConsumeAmount int64 `json:"consume_amount,omitempty"` // 核销金额,仅有当business_type=MULTIUSE时,才会返回。单位,分 }