Quellcode durchsuchen

获取关注详情userId写活

xuxh vor 5 Jahren
Ursprung
Commit
03c28b47f8
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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);