Skip to content

Commit

Permalink
fix: order payment channel trade data
Browse files Browse the repository at this point in the history
  • Loading branch information
ixre committed Mar 26, 2023
1 parent a432a87 commit dc3e464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/domain/payment/payment.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ func (p *paymentOrderImpl) checkOrderFinalAmount() error {
func (p *paymentOrderImpl) Cancel() (err error) {
// 如果已取消或订单再次回调到支付单取消, 不做任何处理
if p.value.State == payment.StateClosed {
//return nil
return nil
}
p.value.State = payment.StateClosed
if err = p.saveOrder(); err != nil {
Expand Down

0 comments on commit dc3e464

Please sign in to comment.