forked from gzzfw/frontEnd/gzDyh

dminyi
2024-09-13 aa117c3b45b0a7770185fceb4d9efefd9642b054
gz-wxparty/pages/realNameAuthentication/index.js
@@ -166,20 +166,7 @@
    const res = await realNameAuthenticationApi(this.data.submitData);
    $$.hideLoading();
    if (res.type) {
      wx.getStorage({
        key: 'userInfo',
        success(res2) {
          console.log('res2', res2);
          let nowData = {
            ...res2.data,
            realStatus: 1,
          }
          wx.setStorage({
            key: 'userInfo',
            data: nowData
          });
        },
      });
      this.getUserInfo()
      $$.showToast({
        icon: 'success',
        title: '实名认证成功'