From 15ea6f7a25980023ce4f2d8ba7a040453414cdc0 Mon Sep 17 00:00:00 2001 From: cool Date: Thu, 18 Apr 2024 09:16:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BE=AE=E4=BF=A1token?= =?UTF-8?q?=E5=8F=96=E5=80=BC=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/user/service/wx.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/user/service/wx.ts b/src/modules/user/service/wx.ts index 528eabf..a85bed7 100644 --- a/src/modules/user/service/wx.ts +++ b/src/modules/user/service/wx.ts @@ -90,7 +90,7 @@ export class UserWxService extends BaseService { 'https://api.weixin.qq.com/cgi-bin/ticket/getticket', { params: { - access_token: token.access_token, + access_token: token, type: 'jsapi', }, }