Parcourir la source

获取关注详情userId写活

xuxh il y a 5 ans
Parent
commit
03c28b47f8
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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);