Browse Source

获取关注详情userId写活

xuxh 5 năm trước cách đây
mục cha
commit
03c28b47f8
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      pages/attention/attention.js

+ 2 - 2
pages/attention/attention.js

@@ -75,8 +75,8 @@ Page({
     });
     // 获取关注的信息
     var userId={
-      // userId:wx.getStorageSync('openid')
-      userId:'ocVI541TGfnTChi5DlIa7beac2YM'
+      userId:wx.getStorageSync('openid')
+      // userId:'ocVI541TGfnTChi5DlIa7beac2YM'
     }
     console.log(userId);
     this.getFollow(userId);