更换搜索服务器域名为星火的域名

This commit is contained in:
metanoia1989
2020-12-05 13:53:13 +08:00
parent 7a5b982dea
commit 1d0e0cc65c
3 changed files with 3 additions and 6 deletions

View File

@@ -727,7 +727,7 @@ void Widget::searchApp(QString text)
// ui->stackedWidget->setCurrentIndex(0);
// 关键字搜索处理
httpClient->get("http://spark-store-api.metanoia1989.com/appinfo/search")
httpClient->get("http://search.deepinos.org.cn/appinfo/search")
.header("content-type", "application/json")
.queryParam("keyword", text)
.onResponse([this](QByteArray result) {
@@ -737,8 +737,6 @@ void Widget::searchApp(QString text)
sendNotification(tr("Not found relative App!"));
return;
}
// TODO 展示应用
qDebug() << json;
displaySearchApp(json);
})