修复退款幂等与补偿重试
This commit is contained in:
@@ -44,6 +44,12 @@ var refundBizTypes = []string{
|
||||
"arbitration_refund",
|
||||
}
|
||||
|
||||
func RefundBizTypes() []string {
|
||||
out := make([]string, len(refundBizTypes))
|
||||
copy(out, refundBizTypes)
|
||||
return out
|
||||
}
|
||||
|
||||
func NewRepository(db *gorm.DB, configRepo *paymentconfig.Repository, orderRepo *order.Repository) *Repository {
|
||||
return &Repository{
|
||||
db: db,
|
||||
|
||||
Reference in New Issue
Block a user