订单分佣规则
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

appreciation.go 886 B

11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
123456789101112131415161718192021
  1. package md
  2. import "github.com/shopspring/decimal"
  3. var (
  4. WithdrawalCommissionFee = decimal.NewFromFloat(0.15) //提现比例 扣了手续费的
  5. WithdrawalDestroyFee = decimal.NewFromFloat(0.05) //提现销毁增值积分比例
  6. WithdrawalRefluxFee = decimal.NewFromFloat(0.10) //提现回流增值积分比例
  7. )
  8. type DealWithdrawalAndDestroyResp struct {
  9. TransferOut float64 `json:"transfer_out"`
  10. AmountOut float64 `json:"amount_out"`
  11. DestroyValue float64 `json:"destroy_value"`
  12. RefluxValue float64 `json:"reflux_value"`
  13. }
  14. type DealWithdrawalFeeResp struct {
  15. WithdrawalCommissionFee float64 `json:"withdrawal_commission_fee"` //提现比例 扣了手续费的
  16. WithdrawalDestroyFee float64 `json:"withdrawal_destroy_fee"` //提现销毁增值积分比例
  17. WithdrawalRefluxFee float64 `json:"withdrawal_reflux_fee"` //提现回流增值积分比例
  18. }