Explorar o código

跳转微信小程序

hwb0 %!s(int64=3) %!d(string=hai) anos
pai
achega
4abfb6e84a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      public/jump.html

+ 1 - 1
public/jump.html

@@ -109,7 +109,7 @@
         let resData = JSON.parse(data)
         console.log('resData', resData)
         if(resData.code == 0){
-          window.location.href = resData.data;
+          window.location.href = `${ resData.data }?id=${ getRequest.id }`;
         }
       })
     }