MrShi
2025-09-15 856f526f823f5dad88c28657d82f971ff66afb1e
bicycle/utils/http.interceptor.js
@@ -13,13 +13,18 @@
   
   // 响应拦截器
   uni.$u.http.interceptors.response.use((response) => {
      if (response.data.code === 5113) {
         uni.navigateTo({
            url: '/pages/index/index'
         });
         return
      }
      if (response.data.code !== 200) {
         uni.showToast({
            title: response.data.message,
            icon: "none",
            duration: 2000
         });
         return response.data
      }
      return response.data
   }, (response) => {