diff --git a/svc/reward_commission.go b/svc/reward_commission.go index 0d091d1..12551d6 100644 --- a/svc/reward_commission.go +++ b/svc/reward_commission.go @@ -108,8 +108,8 @@ func GetRewardCommission(engine *xorm.Engine, rmd *md.CommissionParam, isShare b Pvd: newProvider, Uid: zhios_order_relate_utils.IntToStr(uid), UserLevel: zhios_order_relate_utils.IntToStr(level), - PendingAmount: zhios_order_relate_utils.Float64ToStr(fee), - PendingIntegral: zhios_order_relate_utils.Float64ToStr(integralFee), + PendingAmount: zhios_order_relate_utils.Float64ToStrByPrec(fee, 9), + PendingIntegral: zhios_order_relate_utils.Float64ToStrByPrec(integralFee, 9), Oid: rmd.Oid, }, } @@ -133,8 +133,8 @@ func GetRewardCommission(engine *xorm.Engine, rmd *md.CommissionParam, isShare b Pvd: newProvider, Uid: zhios_order_relate_utils.IntToStr(uid), UserLevel: zhios_order_relate_utils.IntToStr(level), - PendingAmount: zhios_order_relate_utils.Float64ToStr(fee), - PendingIntegral: zhios_order_relate_utils.Float64ToStr(integralFee), + PendingAmount: zhios_order_relate_utils.Float64ToStrByPrec(fee, 9), + PendingIntegral: zhios_order_relate_utils.Float64ToStrByPrec(integralFee, 9), Oid: rmd.Oid, }, }