mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-17 17:41:37 +08:00
更换搜索服务器域名为星火的域名
This commit is contained in:
@@ -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);
|
||||
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user