Commit 1dd6d8dd by NitefullWind

1. 修复积分抵扣金额错误Bug。

parent 630ae302
...@@ -58,7 +58,7 @@ private: ...@@ -58,7 +58,7 @@ private:
this->_needPayStr = needPayStr; this->_needPayStr = needPayStr;
_amount = _amountStr.toInt() / 100.0; _amount = _amountStr.toInt() / 100.0;
_score = (score / 20)*100; // 20积分=1元钱 _score = (score / 20); // 20积分=1元钱
_needPay = _needPayStr.toInt() / 100.0; _needPay = _needPayStr.toInt() / 100.0;
_maxWillPay = _useScore = _couponAmount = 0; _maxWillPay = _useScore = _couponAmount = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment