Commit 630ae302 by NitefullWind

1. 认证和支付返回账户余额和积分信息。

parent 2c62a2ab
......@@ -26,6 +26,8 @@ void TaskLogin::packagePOSRsp()
p.push_back(PosProps.StatusCode);
p.push_back(PosProps.Msg);
p.push_back(PosProps.Fm_open_id);
p.push_back(PosProps.Amount);
p.push_back(PosProps.Score);
p.push_back(PosProps.Mobile);
p.push_back(PosProps.Name);
foreach (QString prop , p) {
......
......@@ -119,6 +119,8 @@ void TaskPay::packagePOSRsp()
posRspJsonObj["forward"] = posReqJsonObj["forward"];
posRspJsonObj[PosProps.Mobile] = session()->data(PosProps.Mobile).toString();
posRspJsonObj[PosProps.Name] = session()->data(PosProps.Name).toString();
posRspJsonObj[PosProps.Amount] = session()->data(PosProps.Amount).toInt() - codeAmount;
posRspJsonObj[PosProps.Score] = session()->data(PosProps.Score).toInt() - scoreAmount;
}
void TaskPay::onPay()
......
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