window.__testUrl

dev_hss
hjm 6 years ago
parent 0bb9e39e94
commit 80a2159400

@ -287,7 +287,7 @@ class App extends Component {
const url = '/wechats/js_sdk_signature.json'
const currentUrl = window.location.href.split('#')[0]
axios.post(url, {
url: window.encodeURIComponent(currentUrl),
url: window.__testUrl || window.encodeURIComponent(currentUrl),
}).then((response) => {
console.log('got res')
const data = response.data;

Loading…
Cancel
Save