mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 02:46:44 +08:00
添加函数:getRanking
This commit is contained in:
@@ -114,6 +114,20 @@ const exportUserCoinRecord = function(aid) {
|
|||||||
return ajax.get(baseURL,'/xboe/m/stat/usercoinrecord/list?aid='+aid+'&days='+days);
|
return ajax.get(baseURL,'/xboe/m/stat/usercoinrecord/list?aid='+aid+'&days='+days);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询排名数据
|
||||||
|
* @author wn
|
||||||
|
{
|
||||||
|
"aid":"952948626497724414", #用户id
|
||||||
|
"statType":20, #统计类型 10学习时长 11 学习天数 20表经验值 30表u币 40表获取天数
|
||||||
|
"field":"total", #统计周期 todays-当天,weeks-周,months-月,years-年 total-总计
|
||||||
|
"num":8 #显示的条数
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
const getRanking = function(queryData) {
|
||||||
|
return ajax.post(baseURL,'/xboe/m/stat/user/ranking',queryData);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
sendEvent,
|
sendEvent,
|
||||||
@@ -125,5 +139,6 @@ export default {
|
|||||||
userMedalLevelInfo,
|
userMedalLevelInfo,
|
||||||
getUserEValueAndLevel,
|
getUserEValueAndLevel,
|
||||||
dynamicHide,
|
dynamicHide,
|
||||||
exportUserCoinRecord
|
exportUserCoinRecord,
|
||||||
|
getRanking
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user