2022年5月29日 从svn移到git

This commit is contained in:
daihh
2022-05-29 18:59:24 +08:00
parent 9580ff8c9b
commit faa7afb65f
897 changed files with 171836 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
/* 评分的相关处理*/
import ajax from '@/utils/xajax.js'
/*评分
@param courseId 课程id
@param score 分数
@studyId 学习id
*/
const grade=function(query){
return ajax.post('/xboe/m/grade/grade',query);
}
/*查看当前用户是否评分
@param courseId 课程id
*/
const has=function(id){
return ajax.get(`/xboe/m/grade/has?courseId=${id}`);
}
export default{
grade,
has
}