MrShi
2025-04-23 c8b32b8bca79a116cfab70eb8c389907b664c9ca
h5/utils/http.interceptor.js
@@ -30,6 +30,7 @@
      if (response.data.code === 5112) {
         uni.showToast({
            title: '登录过期,正在重新跳转授权',
            icon: 'none',
            duration: 2000,
            success() {
               setTimeout(() => {
@@ -57,6 +58,7 @@
         if (list.length > 1 && response.data.data) {
           msg = decryptedData(list[1], list[0])
           response.data.data = decryptedData(list[1], response.data.data)
           console.log(response.data.data)
           response.data.message = msg
         }
      }