From e5cc1705ad8ec53047127db5026388cd1867f7d6 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 21 六月 2024 17:01:07 +0800
Subject: [PATCH] 2024-06-21

---
 src/api/index.js |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/api/index.js b/src/api/index.js
index 3ddb5b0..d9766a6 100644
--- a/src/api/index.js
+++ b/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)

--
Gitblit v1.8.0