You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
------------------ 原始邮件 ------------------
发件人: "notifications"<notifications@github.com>;
发送时间: 2020年12月17日(星期四) 下午2:31
收件人: "skr-shop/manuals"<manuals@noreply.github.com>;
抄送: "Subscribed"<subscribed@noreply.github.com>;
主题: Re: [skr-shop/manuals] 支付流水表和退款表中的transaction_id是否需要一致? (#43)
问题一:pay_refund.transaction_id == pay_transaction.transaction_id。这里肯定是要吃一致,一致的目的是你可以追溯一笔交易总计退了多少。
问题二:严格来说,仅仅是数据关联用 transaction_code 也没有问题。但是整体看,你会发现所有的表与表之间的关联都是通过 transaction_id 来做的。
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
问题一:同个订单,支付之后申请退款,那退款表(pay_refund)中的transaction_id是否需要和支付流水表(pay_transaction)中的transaction_id一致?
问题二:退款表中的transaction_id的用处?如果是标记退的支付流水表的哪条订单数据,字段名修改为pay_transaction_code或transaction_code是否更合适?
The text was updated successfully, but these errors were encountered: