You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zhishifufei_uniapp/api/index.js

43 lines
958 B

10 months ago
import http from "@/utils/request";
export function getNews() {
return http.get("/article/news_bulletin");
}
export function getIndexData() {
return http.get("/index/index_data");
}
export function getSearchHistory() {
return http.get("/index/get_search_history");
}
export function getHotSearch() {
return http.get("/index/get_host_search");
}
export function getSearchContent(search, limit) {
return http.get("/index/go_search", {
search,
limit
});
}
export function clearSearchHistory() {
return http.get("/index/del_search_history");
}
export function getUnifiedListMa(params) {
return http.get("/index/unified_list_ma",params);
}
export function getUnifiedList(params) {
return http.get("/index/get_unifiend_list",params);
}
export function agreeMa(params) {
return http.get("/index/agreeMa",params);
}
9 months ago
export function city_list(params) {
return http.get("/index/city_list",params);
}