Commit b4d74f5e by 李定达

1.修改提示语

parent a1971a06
......@@ -64,7 +64,7 @@ void Control::Start(const char *indata, char *outdata)
ToolS::GetProcPath(pathStr);
appPath = QString::fromLocal8Bit(pathStr);
appPath = appPath.replace("\\", "/");
QFontDatabase::addApplicationFont(appPath + "/msyh.ttf");
QFontDatabase::addApplicationFont(appPath + "msyh.ttf");
QFont ft("Microsoft YaHei UI Light");
qApp->setFont(ft);
......@@ -221,7 +221,7 @@ bool Control::HttpPost(QString url, QByteArray &outdata, const QByteArray &indat
if(reply->error() != QNetworkReply::NoError)
{
error = QString::fromLocal8Bit("网络异常,获取服务端返回数据失败");
error = QString::fromLocal8Bit("网路异常.交易失败.如已扣款将会自动返还");
QLOG_INFO() << reply->errorString() << "Contents: " << reply->readAll();
return false;
}
......@@ -230,7 +230,7 @@ bool Control::HttpPost(QString url, QByteArray &outdata, const QByteArray &indat
if(outdata.isEmpty())
{
error = QString::fromLocal8Bit("网络异常,获取服务端返回数据为空");
error = QString::fromLocal8Bit("网路异常.交易失败.如已扣款将会自动返还");
QLOG_INFO() << reply->errorString() << "Contents: " << reply->readAll();
return false;
}
......@@ -443,7 +443,7 @@ void Control::Request(ReqType type, QStringList list)
++i;
}
if(tmpflag)
SetResPonseWithMessage("23", QString::fromLocal8Bit("支付取消成功,支付成功,金额将原路返还"));
SetResPonseWithMessage("23", QString::fromLocal8Bit("支付取消成功.如已扣款将会自动返还"));
else
{
QVariantHash hash;
......@@ -454,7 +454,7 @@ void Control::Request(ReqType type, QStringList list)
QLOG_ERROR() << "roll back faile , move request to database : " << json;
_db->insert(DB_TABLE_NAME, hash);
SetResPonseWithMessage("23", QString::fromLocal8Bit("支付取消,支付成功,金额将原路返还"));
SetResPonseWithMessage("23", QString::fromLocal8Bit("支付取消成功.如已扣款将会自动返还"));
}
_lock.lock();
......
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