...
|
...
|
@@ -232,13 +232,14 @@ Page({ |
|
|
url = decodeURIComponent(webveiwUrl) + '&uid=' + param.uid;
|
|
|
let response = sign_body(param, decodeURIComponent(webveiwUrl));
|
|
|
console.log('response:', response);
|
|
|
let url = response.url;
|
|
|
let responseUrl = response.url;
|
|
|
if (response.signString) {
|
|
|
url = url + "&client_secret=" + response.signString
|
|
|
url = responseUrl + "&client_secret=" + response.signString
|
|
|
}
|
|
|
}
|
|
|
|
|
|
let newUrl = webveiwUrl.replace("m.yohobuy.com","yoho-community-web.test3.ingress.dev.yohocorp.com");
|
|
|
let newUrl = url.replace("http://", "https://");
|
|
|
// let newUrl = webveiwUrl.replace("m.yohobuy.com","yoho-community-web.test3.ingress.dev.yohocorp.com");
|
|
|
console.log("webview-url:", newUrl)
|
|
|
if (!newUrl){
|
|
|
return
|
...
|
...
|
|