我的-排行榜模块相关

This commit is contained in:
yixiudong
2025-08-19 15:28:57 +08:00
parent bdf96bb74b
commit 366af69ec2
33 changed files with 4787 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
import request from '@/api/request'
const base_url = '/traapp'
// 学习时长
export const getLeaderBoardStdyTmApi = (data) => {
return request({
url: base_url + '/myLeaderBoard/stdyTmLen',
method: 'post',
data
});
};
// 练习次数
export const getLeaderBoardPractCntApi = (data) => {
return request({
url: base_url + '/myLeaderBoard/practCnt',
method: 'post',
data
});
};
// 考试次数
export const getLeaderBoardExamCntApi = (data) => {
return request({
url: base_url + '/myLeaderBoard/examCnt',
method: 'post',
data
});
};
// 通关课程数
export const getLeaderBoardCrsCntApi = (data) => {
return request({
url: base_url + '/myLeaderBoard/crsCnt',
method: 'post',
data
});
};