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