Skip to content

Commit 63bd880

Browse files
committed
update demo
1 parent 63f97d7 commit 63bd880

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

Example/Entry.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ private static void Examples(string appId)
4848
WebhooksDemo.Example();
4949
IdentificationDemo.Example(appId);
5050
CustomsDemo.Example(appId, "ch_CGuj94yXPW944CWbr1Sa5q1K");
51-
BatchRrefundDemo.Example(appId);
51+
BatchRefundDemo.Example(appId);
5252
BatchTransferDemo.Example(appId);
5353
}
5454

Example/Example.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
</ItemGroup>
5050
<ItemGroup>
5151
<Compile Include="Entry.cs" />
52-
<Compile Include="Example\BatchRrefundDemo.cs" />
52+
<Compile Include="Example\BatchRefundDemo.cs" />
5353
<Compile Include="Example\BatchTransferDemo.cs" />
5454
<Compile Include="Example\CustomsDemo.cs" />
5555
<Compile Include="Example\IdentificationDemo.cs" />

Example/Example/BatchRrefundDemo.cs renamed to Example/Example/BatchRefundDemo.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66

77
namespace Example.Example
88
{
9-
internal class BatchRrefundDemo
9+
internal class BatchRefundDemo
1010
{
1111
/// <summary>
1212
/// 本示例介绍批量Batch Refunds 批量退款创建,查询对象,查询对象列表
1313
/// </summary>
1414
/// <param name="appId"></param>
15-
public static void Example(string appId)
15+
public static void Example(string appId)
1616
{
17-
var reParams = new Dictionary<string, object>
17+
var reParams = new Dictionary<string, object>
1818
{
1919
{"app", appId},
2020
//批量退款批次号,3-24位,允许字母和英文
@@ -45,7 +45,7 @@ public static void Example(string appId)
4545
{
4646
{"app", appId}, //批量退款对应的 app 对象 ID,如何获取App ID请查看: https://help.pingxx.com/article/198599/
4747
{"page", 1}, //页码,取值范围:1~1000000000;默认值为"1"
48-
{"per_page", 10} //每页数量,取值范围:1~100;默认值为"20"
48+
{"per_page", 10} //每页数量,取值范围:1~100;默认值为"10"
4949
};
5050
Console.WriteLine(BatchRefund.List(listParams));
5151
Console.WriteLine();

Example/Example/BatchTransferDemo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public static void Example(string appId)
4343
var listParams = new Dictionary<string, object>
4444
{
4545
{"page", 1}, //页码,取值范围:1~1000000000;默认值为"1"
46-
{"per_page", 10} //每页数量,取值范围:1~100;默认值为"20"
46+
{"per_page", 10} //每页数量,取值范围:1~100;默认值为"10"
4747
};
4848

4949
Console.WriteLine("****查询批量转账明细 batch_transfers 对象****");

0 commit comments

Comments
 (0)