mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-07-12 05:07:31 +08:00
10 lines
260 B
TypeScript
10 lines
260 B
TypeScript
|
|
import request from "@/utils/request";
|
||
|
|
import { ISearchDetail } from "@/type/search";
|
||
|
|
|
||
|
|
// 搜索内容
|
||
|
|
export const getSearch = (keywords: any) => {
|
||
|
|
return request.get<ISearchDetail>("/cloudsearch", {
|
||
|
|
params: { keywords: keywords, type: 1018 },
|
||
|
|
});
|
||
|
|
};
|