From 0d90e20ec20f0aeee642756a7ebf9e8514174124 Mon Sep 17 00:00:00 2001
From: wangrong <wangrong@shsening.com>
Date: 星期一, 26 十月 2026 21:15:20 +0800
Subject: [PATCH] 微信小程序插件支持
---
typings/pay-wx.d.ts | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/typings/pay-wx.d.ts b/typings/pay-wx.d.ts
index 035a8fc..1ce2b6e 100644
--- a/typings/pay-wx.d.ts
+++ b/typings/pay-wx.d.ts
@@ -23,9 +23,16 @@
mchid: string;
key: string;
notify_url: string;
- publicKey: Buffer;
- privateKey: Buffer;
+ publicKey: string;
+ privateKey: string;
+ verifyPublicKey?: string;
}): Promise<any>;
+ /**
+ * 鑾峰緱Buffer
+ * @param path
+ * @returns
+ */
+ getBuffer(path: string): Promise<Buffer<any>>;
/**
* 鏍规嵁缁欏畾鐨� URL 涓嬭浇鏂囦欢骞惰繑鍥炰竴涓� Buffer銆�
* @param {string} url 鏂囦欢鐨� URL
@@ -45,8 +52,9 @@
mchid: string;
key: string;
notify_url: string;
- publicKey: Buffer;
- privateKey: Buffer;
+ publicKey: string;
+ privateKey: string;
+ verifyPublicKey?: string;
},
): Promise<any>;
}
--
Gitblit v1.9.1