feat: personal FM (finally🎉)

This commit is contained in:
qier222 2021-03-06 17:09:08 +08:00
parent e169ee19e2
commit 11eb29b3b8
No known key found for this signature in database
GPG key ID: 9C85007ED905F14D
9 changed files with 280 additions and 16 deletions

View file

@ -27,3 +27,24 @@ export function search(params) {
return data;
});
}
export function personalFM() {
return request({
url: "/personal_fm",
method: "get",
params: {
timestamp: new Date().getTime(),
},
});
}
export function fmTrash(id) {
return request({
url: "/fm_trash",
method: "post",
params: {
timestamp: new Date().getTime(),
id,
},
});
}