mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-19 01:58:14 +08:00
chore(tenpayv2): 更新官方文档参考链接
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"sign": "E1EE61A91C8E90F299DE6AE075D60A2D",
|
||||
"mch_billno": "0010010404201411170000046545",
|
||||
"mch_id": "1000888888",
|
||||
"sub_mch_id": "1000888888",
|
||||
"wxappid": "wxcbda96de0b165486",
|
||||
"send_name": "send_name",
|
||||
"re_openid": "onqOjjmM1tad-3ROpncN-yUfa6uI",
|
||||
"total_amount": "600",
|
||||
"amt_type": "ALL_RAND",
|
||||
"total_num": "3",
|
||||
"wishing": "恭喜发财",
|
||||
"act_name": "新年红包",
|
||||
"remark": "新年红包",
|
||||
"scene_id": "PRODUCT_2",
|
||||
"nonce_str": "50780e0cca98c8c8e814883e5caa672e",
|
||||
"risk_info": "posttime%3d123123412%26clientversion%3d234134%26mobile%3d122344545%26deviceid%3dIOS"
|
||||
}
|
@@ -1,12 +0,0 @@
|
||||
{
|
||||
"return_code": "SUCCESS",
|
||||
"return_msg": "发放成功.",
|
||||
"result_code": "SUCCESS",
|
||||
"err_code": "0",
|
||||
"err_code_des": "发放成功.",
|
||||
"mch_billno": "0010010404201411170000046545",
|
||||
"mch_id": "10010404",
|
||||
"wxappid": "wx6fa7e3bab7e15415",
|
||||
"re_openid": "onqOjjmM1tad-3ROpncN-yUfa6uI",
|
||||
"total_amount": "3"
|
||||
}
|
@@ -1,29 +0,0 @@
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using Xunit;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.TenpayV2.UnitTests
|
||||
{
|
||||
public class TestCase_ApiExecutePayMarketingTransfersRedPackTests
|
||||
{
|
||||
[Fact(DisplayName = "测试用例:调用 API [POST] /mmpaymkttransfers/sendgroupredpack")]
|
||||
public async Task TestCase_ApiExecuteSendPayMarketingTransfersGroupRedPackTests()
|
||||
{
|
||||
var request = new Models.SendPayMarketingTransfersGroupRedPackRequest()
|
||||
{
|
||||
ActivityName = "TEST_ACT",
|
||||
MerchantBillNumber = "TESTMBN" + DateTimeOffset.Now.ToString("yyyyMMddHHmmssfff"),
|
||||
AppId = TestConfigs.WechatAppId,
|
||||
OpenId = TestConfigs.WechatOpenId,
|
||||
SenderName = "TEST_SENDER",
|
||||
TotalAmount = 100,
|
||||
TotalCount = 10,
|
||||
Wishing = "TEST_WISH",
|
||||
ClientIp = "127.0.0.7"
|
||||
};
|
||||
var response = await TestClients.Instance.ExecuteSendPayMarketingTransfersGroupRedPackAsync(request);
|
||||
|
||||
Assert.NotNull(response.PartnerTradeNumber);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user