论坛,聊天室前后端对接

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'

     })

   },