fix
This commit is contained in:
@@ -113,8 +113,8 @@ func (l *CalculateProductPriceLogic) CalculateProductPrice(req *types.CalculateP
|
||||
return resp.SetStatusWithMessage(basic.CodeServiceErr, "failed to calculate product price ")
|
||||
}
|
||||
return resp.SetStatusWithMessage(basic.CodeOK, "success", types.CalculateProductPriceRsp{
|
||||
ItemPrice: format.CentitoDollar(itemPrice, 3),
|
||||
TotalPrice: format.CentitoDollarWithNoHalfAdjust(totalPrice, 2),
|
||||
ItemPrice: format.NumToStringWithThousandthPercentile(format.CentitoDollar(itemPrice, 3)),
|
||||
TotalPrice: format.NumToStringWithThousandthPercentile(format.CentitoDollarWithNoHalfAdjust(totalPrice, 2)),
|
||||
StepRange: stepRange,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user