mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 04:16:45 +08:00
我的勋章
This commit is contained in:
@@ -55,10 +55,19 @@ const userDynamicList = function(data) {
|
||||
const userCoinList = function(aid,days) {
|
||||
return ajax.get(baseURL,'/xboe/m/stat/usercoinrecord/list?aid='+aid+'&days='+days);
|
||||
}
|
||||
/**
|
||||
* 获取用户全部勋章
|
||||
* @param {String} aid 用户的id
|
||||
*
|
||||
*/
|
||||
const userMedal = function(aid) {
|
||||
return ajax.get(baseURL,'/xboe/m/stat/medal/user-medal?aid='+aid);
|
||||
}
|
||||
|
||||
export default {
|
||||
sendEvent,
|
||||
userTotal,
|
||||
userDynamicList,
|
||||
userCoinList
|
||||
userCoinList,
|
||||
userMedal
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user