Explorar o código

获取关注详情userId写活

xuxh %!s(int64=5) %!d(string=hai) anos
pai
achega
03c28b47f8
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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);