课程评分的调整,增加我的评分

This commit is contained in:
daihh
2022-11-25 23:10:08 +08:00
parent 33d0a5e814
commit c6808cc8bf
2 changed files with 44 additions and 12 deletions

View File

@@ -16,7 +16,16 @@ const has=function(id){
return ajax.get(`/xboe/m/grade/has?courseId=${id}`);
}
/**
* courseId,aid
* aid不传默认当前账户
*/
const score=function (query){
return ajax.post('/xboe/m/grade/score',query);
}
export default{
grade,
has
has,
score
}