xjc 2 years ago
parent
commit
4535540157
2 changed files with 2 additions and 1 deletions
  1. 1 1
      pages/index/index.js
  2. 1 0
      utils/api.js

+ 1 - 1
pages/index/index.js

@@ -80,7 +80,7 @@ Page({
     if(this.data.loading){
       followList=[]
     }
-    $api.getMyFollow({
+    $api.getMyFollowV3({
       page: this.data.page, page_size: 20
     }).then(res => {
       wx.hideNavigationBarLoading()

+ 1 - 0
utils/api.js

@@ -122,6 +122,7 @@ const API = {
   updateStyle: (data) => request(PUT, `/api/wx/v2/mine/style`, data),
   getMyStyle: (data) => request(GET, `/api/wx/v2/mine/style`, data),
   getMyFollow: (data) => request(GET, `/api/wx/v2/user/follow/list`, data),
+  getMyFollowV3: (data) => request(GET, `/api/wx/v3/user/follow/list`, data),
   getMyMatch: (data) => request(GET, `/api/wx/player/match/list`, data),
   getComment: (data) => request(GET, `/api/wx/v2/wanzhu/comment/list`, data),
   getRecordList: (data) => request(GET, `/api/wx/player/match/record/list`, data),