queenwuli
2020-12-27 cc499362b6eba119792e113796e4da029a70fc6d
hive-app/common/jssdk/httpUtils.js
@@ -45,9 +45,15 @@
                      key: 'userInfo',
                      success: (res) => {
                          reject(result);
                        uni.navigateTo({
                           url: '/pages/login/index'
                        })
                      },
                     fail() {
                        reject(result);
                        uni.navigateTo({
                           url: '/pages/login/index'
                        })
                     }
                  });
               }
@@ -59,10 +65,10 @@
      });
   },
   isNotLogin(err) {
       if (!err || !err.status) {
          return false;
       }
       return err.status === 700014;
       return !err || !err.status || err.status == 700014;
   },
   getRoleInfo(){
      return StorageUtil.getStorage('userInfo','roleInfo')
   }
 }
 export default httpUtils;