gree_leran/apis/score.js

23 lines
310 B
JavaScript
Raw Normal View History

2024-06-20 15:36:19 +00:00
import {http} from "../utils/http.js"
/**
*增加积分
* data:{
"extField1":100
}
*/
export const addScore= (data) => {
return http({
url:"/api/score",
method:"POST",
data
})
}
/**
* 积分列表
*/
export const getScoreList=()=>{
return http({
url:"/api/score/list",
method:"GET",
})
}