From b0ae597995cac7b56b0b28df6cb3baa22e9ed7b2 Mon Sep 17 00:00:00 2001 From: guanchao <18612113337@163.com> Date: Thu, 10 Sep 2026 17:18:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=BF=E6=8D=A2=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- laf-cloud/functions/login.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/laf-cloud/functions/login.ts b/laf-cloud/functions/login.ts index 12c237d..c501f2a 100644 --- a/laf-cloud/functions/login.ts +++ b/laf-cloud/functions/login.ts @@ -14,8 +14,8 @@ import { const JungleConfig: any = JungleConfigModule as any; const db = cloud.database(); import crypto from 'crypto'; -const mchid = "1719895437";//商户id -const serialNo = "2A97ED6ED441E55600EBC8830B9EC889ED41496E";//证书序列号 +const mchid = process.env.WX_MCH_ID;//商户id +const serialNo = process.env.WX_MCH_CERT_SERIAL_NO;//证书序列号 const ThinkingData = require('thinkingdata-node'); import Ip2region from 'ip2region'; // 新版每日/周任务暂不上线,仅保留源码备查(743ea34 引入,local 分支保留)。