增加方法:userMedalLevelInfo

This commit is contained in:
weinan2087
2022-09-21 18:49:17 +08:00
parent 2975280ccf
commit 6ed5692bf9

View File

@@ -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
}