king
2024-06-21 e5cc1705ad8ec53047127db5026388cd1867f7d6
2024-06-21
1个文件已修改
6 ■■■■■ 已修改文件
src/api/index.js 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/index.js
@@ -116,10 +116,8 @@
      } else {
        window.GLOB.accessToken = {domain}
        axios({
          url: _url + 'wechat/jsapi/getaccesstoken',
          method: 'post',
          headers: { 'Content-Type': 'application/json' },
          data: JSON.stringify({appId: 'wx4d8a34c8d4494872'})
          url: _url + 'wxpay/getaccesstoken',
          method: 'get'
        }).then(res => {
          if (res.oa_access_token) {
            window.GLOB.accessToken.accessTime = parseInt(new Date().getTime() / 1000)