fix: typo

This commit is contained in:
orz12
2024-01-23 15:11:48 +08:00
parent e052c6eafe
commit a73f2974e1
3 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@ class SearchHttp {
// 获取搜索建议
static Future searchSuggest({required term}) async {
var res = await Request().get(Api.serachSuggest,
var res = await Request().get(Api.searchSuggest,
data: {'term': term, 'main_ver': 'v1', 'highlight': term});
if (res.data is String) {
Map<String, dynamic> resultMap = json.decode(res.data);