wangfei hace 6 años
padre
commit
7c709c6ac4
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      src/util/api.js

+ 2
- 2
src/util/api.js Ver fichero

@@ -2,13 +2,13 @@
2 2
 const baseUrl = '/api'
3 3
 // const baseUrl = '/check-api'
4 4
 const wechat = '/wechat/:org'
5
-// const guest = '/guest/:org'
5
+const guest = '/guest/:org'
6 6
 
7 7
 const $api = {
8 8
   common: {
9 9
     shareWx: {
10 10
       method: 'post',
11
-      url: `/wx/share/initWxJsConfig`
11
+      url: `${baseUrl}${guest}/wechat/jssdk/signature`
12 12
     }
13 13
   },
14 14
   lottery: {