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