mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-16 07:59:44 +08:00
docs: 完善文档
This commit is contained in:
parent
8d8cf9f6df
commit
7677588e22
11
CHANGELOG.md
11
CHANGELOG.md
@ -32,6 +32,16 @@
|
||||
|
||||
<summary>[展开查看]</summary>
|
||||
|
||||
- Release 2.4.0
|
||||
|
||||
- **新增**:新增获取小程序插件用户的唯一标识相关接口。
|
||||
|
||||
- **新增**:随官方更新扫描二维码打开小程序的相关接口模型。
|
||||
|
||||
- **新增**:随官方更新物流助手相关接口模型。
|
||||
|
||||
- **变更**:升级公共组件。
|
||||
|
||||
- Release 2.3.0
|
||||
|
||||
- **新增**:新增第三方平台代公众号发起网页授权相关接口。
|
||||
@ -236,7 +246,6 @@
|
||||
|
||||
- **修复**:修复二级商户进件提交申请单接口因 URL 结尾反斜杠问题而无法正常请求的问题。([GitHub Issue #19](https://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat/issues/19))
|
||||
|
||||
|
||||
- Release 2.2.1
|
||||
|
||||
- **修复**:修复空响应时无法正确反序列化的问题。
|
||||
|
@ -17,5 +17,17 @@ var request = new Models.CgibinTicketGetTicketRequest()
|
||||
AccessToken = "微信 AccessToken"
|
||||
};
|
||||
var response = await client.ExecuteCgibinTicketGetTicketAsync(request);
|
||||
var paramMap = client.GenerateParametersForJssdkConfig(response.Ticket, "https://example.com");
|
||||
var paramMap = client.GenerateParametersForJSSDKConfig(response.Ticket, "https://example.com");
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### 【附】生成参数相关扩展方法速查表:
|
||||
|
||||
- 生成公众号 JS-SDK `wx.config` 所需的参数字典:`GenerateParametersForJSSDKConfig`
|
||||
|
||||
- 生成公众号 JS-SDK `wx.chooseInvoice` 所需的参数字典:`GenerateParametersForJSSDKChooseInvoice`
|
||||
|
||||
- 生成公众号网页授权 URL:`GenerateParameterizedUrlForConnectOAuth2Authorize`
|
||||
|
||||
- 生成代公众号网页授权 URL:`GenerateParameterizedUrlForConnectOAuth2Authorize`
|
||||
|
@ -57,7 +57,7 @@
|
||||
|
||||
---
|
||||
|
||||
### 【附 1】直连商户模式 API 模型命名速查表:
|
||||
### 【附】直连商户模式 API 模型命名速查表:
|
||||
|
||||
注:树形结构与[微信支付开发者文档](https://pay.weixin.qq.com/wiki/doc/apiv3/apis/index.shtml)目录结构保持一致。
|
||||
|
||||
@ -425,7 +425,7 @@
|
||||
|
||||
---
|
||||
|
||||
### 【附 2】服务商模式 API 模型命名速查表:
|
||||
### 【附】服务商模式 API 模型命名速查表:
|
||||
|
||||
注:树形结构与[微信支付开发者文档](https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/index.shtml)目录结构保持一致。
|
||||
|
||||
|
@ -34,3 +34,11 @@ var request = new Models.CreatePayTransactionJsapiRequest()
|
||||
var response = await client.ExecuteQueryCertificatesAsync(request);
|
||||
var paramMap = client.GenerateParametersForJsapiPayRequest(request.AppId, response.PrepayId);
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### 【附】生成参数相关扩展方法速查表:
|
||||
|
||||
- 生成客户端 JSAPI / 小程序调起支付所需的参数字典:`GenerateParametersForJsapiPayRequest`
|
||||
|
||||
- 生成 APP 调起支付所需的参数字典:`GenerateParametersForAppPayRequest`
|
||||
|
Loading…
Reference in New Issue
Block a user