From c4bd52783d552b12e9814f4a41568ee68c9b13c0 Mon Sep 17 00:00:00 2001 From: zhaofang <752743406@qq.com> Date: Fri, 23 Sep 2022 19:01:44 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BE=E7=A8=8B=E8=AF=84=E8=AE=BA=E5=9B=9E?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/phase2/note.js | 2 +- src/api/phase2/stat.js | 17 +-- src/components/Course/myNote.vue | 22 ++-- src/components/Portal/noteComment.vue | 104 +++++++++-------- src/utils/tools.js | 25 +++++ src/views/study/coursenew.vue | 9 +- src/views/ucurrency/Index.vue | 153 +++++++++++++++++++------- src/views/user/ranking.vue | 114 ++++++++++++++++--- 8 files changed, 314 insertions(+), 132 deletions(-) diff --git a/src/api/phase2/note.js b/src/api/phase2/note.js index 2fccdf34..2926ae86 100644 --- a/src/api/phase2/note.js +++ b/src/api/phase2/note.js @@ -44,7 +44,7 @@ const del=function (id){ * } * */ const coursePage=function (query){ - return ajax.post(baseURL,'/xboe/subgroup/m/noteinfo/course',query); + return ajax.post(baseURL,'/xboe/subgroup/m/noteinfo/course-page',query); } /** diff --git a/src/api/phase2/stat.js b/src/api/phase2/stat.js index 640666df..4c406210 100644 --- a/src/api/phase2/stat.js +++ b/src/api/phase2/stat.js @@ -47,14 +47,6 @@ const userDynamicList = function(data) { return ajax.post(baseURL,'/xboe/m/stat/userdynamic/list',data); } -/** - * 获取用户最近 x 天的U币记录 - * @param {String} aid 用户的id - * @param {Integer} days x天的记录,默认为7天 - */ -const userCoinList = function(aid,days) { - return ajax.get(baseURL,'/xboe/m/stat/usercoinrecord/list?aid='+aid+'&days='+days); -} /** * 获取用户全部勋章 * @param {String} aid 用户的id @@ -113,6 +105,15 @@ const exportUserCoinRecord = function(aid) { return ajax.get(baseURL,'/xboe/m/stat/usercoinrecord/export?aid='+aid); } +/** + * 获取用户最近 x 天的U币记录 + * @param {String} aid 用户的id + * @param {Integer} days x天的记录,默认为7天 + */ + const userCoinList = function(aid,days) { + return ajax.get(baseURL,'/xboe/m/stat/usercoinrecord/list?aid='+aid+'&days='+days); +} + export default { sendEvent, diff --git a/src/components/Course/myNote.vue b/src/components/Course/myNote.vue index b1cc7f3f..31c3257e 100644 --- a/src/components/Course/myNote.vue +++ b/src/components/Course/myNote.vue @@ -2,8 +2,8 @@
{{info.uvalue > 0? '+':''}} {{info.uvalue}}
+5
+5
+5
+5
+5
+5

