|
@@ -3,7 +3,7 @@ package md |
|
|
import "github.com/shopspring/decimal" |
|
|
import "github.com/shopspring/decimal" |
|
|
|
|
|
|
|
|
var ( |
|
|
var ( |
|
|
WithdrawalCommissionFee = decimal.NewFromFloat(0.15) //提现手续费 |
|
|
|
|
|
|
|
|
WithdrawalCommissionFee = decimal.NewFromFloat(0.15) //提现比例 扣了手续费的 |
|
|
WithdrawalDestroyFee = decimal.NewFromFloat(0.05) //提现销毁增值积分比例 |
|
|
WithdrawalDestroyFee = decimal.NewFromFloat(0.05) //提现销毁增值积分比例 |
|
|
WithdrawalRefluxFee = decimal.NewFromFloat(0.10) //提现回流增值积分比例 |
|
|
WithdrawalRefluxFee = decimal.NewFromFloat(0.10) //提现回流增值积分比例 |
|
|
) |
|
|
) |
|
@@ -15,7 +15,7 @@ type DealWithdrawalAndDestroyResp struct { |
|
|
RefluxValue float64 `json:"reflux_value"` |
|
|
RefluxValue float64 `json:"reflux_value"` |
|
|
} |
|
|
} |
|
|
type DealWithdrawalFeeResp struct { |
|
|
type DealWithdrawalFeeResp struct { |
|
|
WithdrawalCommissionFee float64 `json:"withdrawal_commission_fee"` //提现手续费 |
|
|
|
|
|
|
|
|
WithdrawalCommissionFee float64 `json:"withdrawal_commission_fee"` //提现比例 扣了手续费的 |
|
|
WithdrawalDestroyFee float64 `json:"withdrawal_destroy_fee"` //提现销毁增值积分比例 |
|
|
WithdrawalDestroyFee float64 `json:"withdrawal_destroy_fee"` //提现销毁增值积分比例 |
|
|
WithdrawalRefluxFee float64 `json:"withdrawal_reflux_fee"` //提现回流增值积分比例 |
|
|
WithdrawalRefluxFee float64 `json:"withdrawal_reflux_fee"` //提现回流增值积分比例 |
|
|
} |
|
|
} |