修复重构后逻辑问题
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user