gree_leran/apis/collections.js

25 lines
401 B
JavaScript
Raw Normal View History

2024-06-20 15:36:19 +00:00
import {http} from "../utils/http.js"
// {
// "contentType":0,
// "contentId":0,
// "extField1":1
// }
/**
* 添加收藏
*/
export const addCollections= (data) => {
return http({
url:"/api/collections",
method:"POST",
data,
})
}
/**
* 收藏列表
*/
export const getCollectionsList=()=>{
return http({
url:"/api/collections/selectCollectionsList",
method:"POST",
})
}