MrShi
2026-03-02 41115bb4b6d0161ff6d2c15ef6b3d5386a14ac9c
mini-program/utils/http.interceptor.js
@@ -6,7 +6,7 @@
   
   // 请求拦截器
   uni.$u.http.interceptors.request.use((config) => {
      console.log(config)
      // console.log(config)
      if(config.data && config.data.tokenType===1){
         config.header['tokenType'] = config.data.tokenType;
         const HeadShoptoken = vm.$store.state.shopToken 
@@ -99,6 +99,7 @@
         uni.showToast({
            title: response.data.message || response.data.msg,
            icon: "none",
            mask: true,
            duration: 2000
         });
         return Promise.reject(response)