Browse Source

更新

three
huangjiajun 10 months ago
parent
commit
0572946ba6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      consume/zhios_order_buckle.go

+ 1
- 1
consume/zhios_order_buckle.go View File

@@ -145,7 +145,7 @@ func handleZhiosOrderBuckle(msg []byte) error {
} }
//计算出暗扣的比例 TODO //计算出暗扣的比例 TODO
if opt.BuckleRate > 0 { if opt.BuckleRate > 0 {
BenefitAll = utils.FloatFormat(ordData.BenefitAll*(1-opt.BuckleRate), 2)
BenefitAll = utils.FloatFormat(ordData.BenefitAll*(1-opt.BuckleRate), 9)
} }
var ord = md2.OrderInfo{ var ord = md2.OrderInfo{
PvdOid: ordData.PvdOid, PvdOid: ordData.PvdOid,


Loading…
Cancel
Save