mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 11:26:43 +08:00
增加方法:userMedalLevelInfo
This commit is contained in:
@@ -58,7 +58,7 @@ const userCoinList = function(aid,days) {
|
||||
/**
|
||||
* 获取用户全部勋章
|
||||
* @param {String} aid 用户的id
|
||||
*
|
||||
*
|
||||
*/
|
||||
const userMedal = function(aid) {
|
||||
return ajax.get(baseURL,'/xboe/m/stat/medal/user-medal?aid='+aid);
|
||||
@@ -77,11 +77,21 @@ const userMedalConfig = function() {
|
||||
return ajax.get(baseURL,'/xboe/m/stat/medal/config');
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询勋章下等级所对应的用户数量
|
||||
* @author wn
|
||||
* @param {String} medalId 勋章id(必填)
|
||||
*/
|
||||
const userMedalLevelInfo = function() {
|
||||
return ajax.get(baseURL,'/xboe/m/stat/medal/getUserMedalLevelInfo');
|
||||
}
|
||||
|
||||
export default {
|
||||
sendEvent,
|
||||
userTotal,
|
||||
userDynamicList,
|
||||
userCoinList,
|
||||
userMedal,
|
||||
userMedalConfig
|
||||
userMedalConfig,
|
||||
userMedalLevelInfo
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user