|
@@ -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, |
|
|