commit | 58d957010bc2b45019e478cef763a10cb61aa4c2 | [log] [tgz] |
---|---|---|
author | 2081595154 <2081595154@qq.com> | Mon Jun 09 14:46:58 2025 +0800 |
committer | 2081595154 <2081595154@qq.com> | Mon Jun 09 14:46:58 2025 +0800 |
tree | 4c857b2589c976e652fe84f7c32608edb7c01f68 | |
parent | e4cdc5ecc54b7b91fa065aea802848797edd0fd9 [diff] [blame] |
论坛,聊天室前后端对接 Change-Id: I90740329ab40dc050e8a791a382ab187900d673a
diff --git a/src/api/user.js b/src/api/user.js index 2cfb40c..32073b1 100644 --- a/src/api/user.js +++ b/src/api/user.js
@@ -7,7 +7,18 @@ */ getCurrentUser() { return request({ - url: '/user/profile', + url: '/auth/status', + method: 'get' + }) + }, + + /** + * 获取用户分享率和统计信息 + * @returns {Promise<Object>} 分享率统计信息 + */ + getUserRatioInfo() { + return request({ + url: '/torrent/ratio/info', method: 'get' }) },