mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-09-06 03:12:21 +08:00
fix: 拼写错误
This commit is contained in:
parent
1561d511d1
commit
b1a6f79961
@ -21,12 +21,12 @@ void SpkAppInfoLoaderThread::run()
|
|||||||
.onResponse([this](QString downloadTimesFeedback)
|
.onResponse([this](QString downloadTimesFeedback)
|
||||||
{
|
{
|
||||||
qDebug() << "请求应用下载量信息 " << downloadTimesFeedback;
|
qDebug() << "请求应用下载量信息 " << downloadTimesFeedback;
|
||||||
this->downdloadTimes = downloadTimesFeedback.replace("\n","");
|
this->downloadTimes = downloadTimesFeedback.replace("\n","");
|
||||||
})
|
})
|
||||||
.onError([this](QString errorStr)
|
.onError([this](QString errorStr)
|
||||||
{
|
{
|
||||||
qDebug() << "请求下载量失败:" << errorStr;
|
qDebug() << "请求下载量失败:" << errorStr;
|
||||||
this->downdloadTimes = "0";
|
this->downloadTimes = "0";
|
||||||
})
|
})
|
||||||
.block()
|
.block()
|
||||||
.timeout(3*1000)
|
.timeout(3*1000)
|
||||||
@ -66,7 +66,7 @@ void SpkAppInfoLoaderThread::run()
|
|||||||
QString details;
|
QString details;
|
||||||
details = tr("PkgName: ") + json["Pkgname"].toString() + "\n";
|
details = tr("PkgName: ") + json["Pkgname"].toString() + "\n";
|
||||||
details += tr("Version: ") + json["Version"].toString() + "\n";
|
details += tr("Version: ") + json["Version"].toString() + "\n";
|
||||||
details += tr("Download Times: ") + this->downdloadTimes + "\n";
|
details += tr("Download Times: ") + this->downloadTimes + "\n";
|
||||||
if(!json["Author"].toString().trimmed().isEmpty())
|
if(!json["Author"].toString().trimmed().isEmpty())
|
||||||
{
|
{
|
||||||
details += tr("Author: ") + json["Author"].toString() + "\n";
|
details += tr("Author: ") + json["Author"].toString() + "\n";
|
||||||
|
@ -23,7 +23,7 @@ protected:
|
|||||||
private:
|
private:
|
||||||
QUrl targetUrl;
|
QUrl targetUrl;
|
||||||
QString serverUrl;
|
QString serverUrl;
|
||||||
QString downdloadTimes;
|
QString downloadTimes;
|
||||||
bool finishedDownload = false;
|
bool finishedDownload = false;
|
||||||
int downloaderRetval = 0;
|
int downloaderRetval = 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user