gree_leran/apis/cast.js

23 lines
381 B
JavaScript
Raw Permalink Normal View History

2024-06-20 15:36:19 +00:00
import {http} from "../utils/http.js"
export const getCaseList= () => {
return http({
url:"/api/case/list",
method:"GET"
})
}
export const getCastInfo=(id)=>{
return http({
url:"/api/case/"+id,
method:"GET"
})
}
/**
* datatitledescriptioncontentimgeurl
*/
export const saveCaseInfo=(data)=>{
return http({
url:"/api/case",
data,
method:"POST"
})
}