跪求大神来救救孩子?

小程序 文章 2021-03-19 11:21 46 0 全屏看文

跪求大神来救救孩子?Kneeling for the great god to save the child?

跪求大神来救救孩子?

{errMsg: "getUserInfo:ok", rawData: "{"nickName":"We1.","gender":1,"language":"zh_CN","…guItElHFicHRIOxsPXGG1QYIbr6JaBtgfevMEiczXVQ/132"}", userInfo: {…}, signature: "1d1fe7f5588399a9aca0a6dbb9941540701e68f4", encryptedData: "VQfGahUPnAfw1S5X7IqL51WHQaneuO78WaxDN3MMonyTI3kDQV…50gNguUzSHhmt/saaVabDwj9+yal1BNmkNJraFiGadjtjsV4c", …}encryptedData: "VQfGahUPnAfw1S5X7IqL51WHQaneuO78WaxDN3MMonyTI3kDQVMPp7L4T+1kFHdZTDv0kUejLcA7zyHd6tNF+ECoifcYvRKPSll2xU7jTWHm5HxePpNo2A1TdIL4FWGFOI52btjr9RnL0pvEPUv4Ty/JcwvSFmrwUZCNCUAfa5GDX3nJK51hJO8Fhlqdl1rndak3lLhf8gsnFvM0aALRtKb883M4k3SqjOEbeNWYd+1BG9jZ5kzhXhL0GSj1DB7LzLDgftQFqo2QKvC38kxF+luEDJ0QBWy7MC29Qp8vujZV4uzjhyFDdIamFsPxyc9ReaV2H2hNDJwknPXVamwALHKi5IhLXy6Fglj9pRuLzR0zS9FLjSDJAuxf/QCxYvnNLGD80rHh4Eew+lmdDLdI7w6PwkaxGol3Q12Jt1DSPOHMUAH7T1YA6/8IDYFhjLnONOyfm0DBOddQXtz50gNguUzSHhmt/saaVabDwj9+yal1BNmkNJraFiGadjtjsV4c"errMsg: "getUserInfo:ok"iv: "0ve/BCw0smvjp5AvqPGPqg=="rawData: "{"nickName":"We1.","gender":1,"language":"zh_CN","city":"Mudanjiang","province":"Heilongjiang","country":"China","avatarUrl":"https://thirdwx.qlogo.cn/mmopen/vi_32/DYAIOgq83eqiahgLmCiapFLIp3U0137iaicEwmAVyvBmVvkib6guItElHFicHRIOxsPXGG1QYIbr6JaBtgfevMEiczXVQ/132"}"signature: "1d1fe7f5588399a9aca0a6dbb9941540701e68f4"userInfo: {nickName: "We1.", gender: 1, language: "zh_CN", city: "Mudanjiang", province: "Heilongjiang", …}__proto__: Object

{errMsg: "getUserInfo:ok", rawData: "{"nickName":"We1.","gender":1,"language":"zh_CN","…guItElHFicHRIOxsPXGG1QYIbr6JaBtgfevMEiczXVQ/132"}", userInfo: {…}, signature: "1d1fe7f5588399a9aca0a6dbb9941540701e68f4", encryptedData: "VQfGahUPnAfw1S5X7IqL51WHQaneuO78WaxDN3MMonyTI3kDQV…50gNguUzSHhmt/saaVabDwj9+yal1BNmkNJraFiGadjtjsV4c", …}encryptedData: "VQfGahUPnAfw1S5X7IqL51WHQaneuO78WaxDN3MMonyTI3kDQVMPp7L4T+1kFHdZTDv0kUejLcA7zyHd6tNF+ECoifcYvRKPSll2xU7jTWHm5HxePpNo2A1TdIL4FWGFOI52btjr9RnL0pvEPUv4Ty/JcwvSFmrwUZCNCUAfa5GDX3nJK51hJO8Fhlqdl1rndak3lLhf8gsnFvM0aALRtKb883M4k3SqjOEbeNWYd+1BG9jZ5kzhXhL0GSj1DB7LzLDgftQFqo2QKvC38kxF+luEDJ0QBWy7MC29Qp8vujZV4uzjhyFDdIamFsPxyc9ReaV2H2hNDJwknPXVamwALHKi5IhLXy6Fglj9pRuLzR0zS9FLjSDJAuxf/QCxYvnNLGD80rHh4Eew+lmdDLdI7w6PwkaxGol3Q12Jt1DSPOHMUAH7T1YA6/8IDYFhjLnONOyfm0DBOddQXtz50gNguUzSHhmt/saaVabDwj9+yal1BNmkNJraFiGadjtjsV4c"errMsg: "getUserInfo:ok"iv: "0ve/BCw0smvjp5AvqPGPqg=="rawData: "{"nickName":"We1.","gender":1,"language":"zh_CN","city":"Mudanjiang","province":"Heilongjiang","country":"China","avatarUrl":"https://thirdwx.qlogo.cn/mmopen/vi_32/DYAIOgq83eqiahgLmCiapFLIp3U0137iaicEwmAVyvBmVvkib6guItElHFicHRIOxsPXGG1QYIbr6JaBtgfevMEiczXVQ/132"}"signature: "1d1fe7f5588399a9aca0a6dbb9941540701e68f4"userInfo: {nickName: "We1.", gender: 1, language: "zh_CN", city: "Mudanjiang", province: "Heilongjiang", …}__proto__: Object

回答:

We1.:具体怎么改啊 哥哥啊
We1.:<view class="indexContainer">
  <image wx:if='{{userInfo.avatarUrl}}' class="avatarUrl" src="{{userInfo.avatarUrl}}"></image>
  <button wx:else bindgetuserinfo='handleGetUserInfo' open-type="getUserInfo">获取用户信息</button>
  <text class="userName">{{userInfo.nickName}}</text>
  <!-- 测试事件绑定 -->
  <!-- <view class="goStudy" catchtap="handleParent">
    <text catchtap='handleChild'>hello world</text>
  </view> -->
  <view class="goStudy" catchtap="toLogs">
    <text >hello world</text>
  </view>
</view>
Brother斌🎈:

额。。。所以你想问什么问题

We1.:怎么写啊 想要代码 孩子哭了
Brother斌🎈:写啥 你截图的表示已经获取到用户信息了啊 直接拿来用就行啊
We1.:

陈:所以到底是什么问题。。。。
We1.:我在网上看的尚硅谷学的 就是 这用户授权的问题 不知道错在哪里了  代码都是一样的他们说 什么接口问题 我也不知道 才来 问问
陈:你不是获取到了吗?那里错了?
We1.:不知道啊 才出来问的

-EOF-