From 5dc48d803feade8d0ef565490959c4d99bb70d38 Mon Sep 17 00:00:00 2001 From: never <18291819551@163.com> Date: Thu, 24 Feb 2022 16:45:35 +0800 Subject: [PATCH] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 对index.js pullrequest 中ovsersea 参数进行说明,注释; --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index f96b4ae..d07809c 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,7 @@ const paymnet = new Payment({ serial_no:'证书序列号', apiv3_private_key:'api v3密钥', notify_url: '支付退款结果通知的回调地址', + oversea : false, //默认是微信支付国内版;境外版url有所不同 }) ``` @@ -43,6 +44,7 @@ const paymnet = new Payment({ - `notify_url` - 支付退款结果通知的回调地址(选填) - 可以在初始化的时候传入设为默认值, 不传则需在调用相关API时传入 - 调用相关API时传入新值则使用新值 +- 'oversea' - 布尔类型值参数让api兼容微信支付国内,境外两个版本的url ### jsapi统一下单