This commit is contained in:
Fu Diwei
2021-09-30 14:59:13 +08:00
3 changed files with 0 additions and 16 deletions

View File

@@ -1,7 +1,5 @@
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Flurl;
@@ -34,9 +32,6 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
.SetQueryParam("tar_type", request.TarType)
.SetQueryParam("algorithm", request.Algorithm);
if (!string.IsNullOrEmpty(request.TarType))
flurlReq.SetQueryParam("tar_type", request.TarType);
return await client.SendRequestWithJsonAsync<Models.GetPayScoreMerchantBillResponse>(flurlReq, cancellationToken: cancellationToken);
}
}

View File

@@ -71,13 +71,6 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
[System.Text.Json.Serialization.JsonIgnore]
public string StockId { get; set; } = string.Empty;
/// <summary>
/// 获取或设置批次名称。
/// </summary>
[Newtonsoft.Json.JsonProperty("stock_name")]
[System.Text.Json.Serialization.JsonPropertyName("stock_name")]
public string? StockName { get; set; }
/// <summary>
/// 获取或设置商户请求单号。
/// </summary>

View File

@@ -10,14 +10,11 @@
"hall_id": "233455656",
"code_display_mode": "BARCODE"
},
"stock_name": "8月1日活动券",
"comment": "活动使用",
"goods_name": "xxx商品使用",
"out_request_no": "6122352020010133287985742",
"display_pattern_info": {
"description": "xxx门店可用",
"merchant_logo_url": "https://xxx",
"merchant_name": "微信支付",
"background_color": "xxxxx",
"coupon_image_url": "图片cdn地址"
},
@@ -27,7 +24,6 @@
"mini_programs_path": "/path/index/index"
},
"stock_send_rule": {
"natural_person_limit": false,
"prevent_api_abuse": false
},
"notify_config": {