Commit f58de8d8 by NitefullWind

1. 修复应付金额Bug。

parent 43a495ac
......@@ -162,7 +162,7 @@ void FMPePayPrivate::Init()
hash[FMP_EPAY_BUSINESSDATE] = _origin_request[FMP_EPAY_BUSINESSDATE].toVariant();
QJsonObject trans = _origin_request["transactions"].toObject();
if (_origin_request["fm_cmd"].toInt() == 10031) {
hash["amount"] = trans["order_amount"].toVariant();
hash["amount"] = trans["order_amount"].toInt() - trans["paid_amount"].toInt();
}
else if (_origin_request["fm_cmd"].toInt() == 10041) {
hash["amount"] = trans["refund_amount"].toVariant();
......
......@@ -5,7 +5,7 @@
#define VER_MINOR 1
#define VER_REVISION 0
#define VER_BUILD 18
#define VER_BUILD 19
//! Convert version numbers to string
#define _STR(S) #S
......
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