gree_leran/apis/cast.js

23 lines
381 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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"
})
}