rk
6 天以前 5a5fb7ce772aa2d0e244c43dc8fe5039e77a87f2
h5/utils/service.js
@@ -33,16 +33,16 @@
                        icon: "none",
                        duration: 2000
                     })
                  })
                  },500)
                  if (data.code === 500) {
                     uni.showToast({
                        'title': '服务器异常',icon:'none'
                     })
                  }
                  if (data.code === 5112) {
                     uni.clearStorageSync()
                     window.location.href = app_url
                  }
                  // if (data.code === 5112) {
                  //    uni.clearStorageSync()
                  //    window.location.href = app_url
                  // }
                  return resolve(data)
               }
               resolve(data)