修复重构后逻辑问题

This commit is contained in:
2025-11-21 12:59:05 +08:00
parent a245229bc2
commit 61ca0587c6
12 changed files with 60 additions and 157 deletions

View File

@@ -1,8 +1,9 @@
package trade
import (
"github.com/shopspring/decimal"
m "platform/web/models"
"github.com/shopspring/decimal"
)
type Type int32
@@ -43,7 +44,7 @@ const (
StatusPending Status = iota // 待支付
StatusSuccess // 已支付
StatusCanceled // 已取消
) // 已退款
)
type ProductInfo interface {
GetType() Type