25 lines
401 B
JavaScript
25 lines
401 B
JavaScript
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",
|
|
})
|
|
} |