mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-16 07:59:44 +08:00
fix(tenpayv3): 修复创建代金券券批次相关接口的请求模型定义错误
This commit is contained in:
parent
330c2c52e2
commit
7b441640c4
@ -17,14 +17,14 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("max_coupons")]
|
[Newtonsoft.Json.JsonProperty("max_coupons")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("max_coupons")]
|
[System.Text.Json.Serialization.JsonPropertyName("max_coupons")]
|
||||||
public int MaxCoupons { get; set; }
|
public int? MaxCoupons { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置单个用户可领个数。
|
/// 获取或设置单个用户可领个数。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("max_coupons_per_user")]
|
[Newtonsoft.Json.JsonProperty("max_coupons_per_user")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("max_coupons_per_user")]
|
[System.Text.Json.Serialization.JsonPropertyName("max_coupons_per_user")]
|
||||||
public int MaxCouponsPerUser { get; set; }
|
public int? MaxCouponsPerUser { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置单天发放上限个数。
|
/// 获取或设置单天发放上限个数。
|
||||||
|
@ -17,42 +17,42 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("max_coupons")]
|
[Newtonsoft.Json.JsonProperty("max_coupons")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("max_coupons")]
|
[System.Text.Json.Serialization.JsonPropertyName("max_coupons")]
|
||||||
public int MaxCoupons { get; set; }
|
public int? MaxCoupons { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置发放总预算(单位:分)。
|
/// 获取或设置发放总预算(单位:分)。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("max_amount")]
|
[Newtonsoft.Json.JsonProperty("max_amount")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("max_amount")]
|
[System.Text.Json.Serialization.JsonPropertyName("max_amount")]
|
||||||
public long MaxAmount { get; set; }
|
public long? MaxAmount { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置单天预算发放上限(单位:分)。
|
/// 获取或设置单天预算发放上限(单位:分)。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("max_amount_by_day")]
|
[Newtonsoft.Json.JsonProperty("max_amount_by_day")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("max_amount_by_day")]
|
[System.Text.Json.Serialization.JsonPropertyName("max_amount_by_day")]
|
||||||
public long MaxAmountPerDay { get; set; }
|
public long? MaxAmountPerDay { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置单个用户可领个数。
|
/// 获取或设置单个用户可领个数。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("max_coupons_per_user")]
|
[Newtonsoft.Json.JsonProperty("max_coupons_per_user")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("max_coupons_per_user")]
|
[System.Text.Json.Serialization.JsonPropertyName("max_coupons_per_user")]
|
||||||
public int MaxCouponsPerUser { get; set; }
|
public int? MaxCouponsPerUser { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置是否开启自然人限制。
|
/// 获取或设置是否开启自然人限制。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("natural_person_limit")]
|
[Newtonsoft.Json.JsonProperty("natural_person_limit")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("natural_person_limit")]
|
[System.Text.Json.Serialization.JsonPropertyName("natural_person_limit")]
|
||||||
public bool IsNaturalPersonLimit { get; set; }
|
public bool? IsNaturalPersonLimit { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置是否开启防刷拦截。
|
/// 获取或设置是否开启防刷拦截。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonProperty("prevent_api_abuse")]
|
[Newtonsoft.Json.JsonProperty("prevent_api_abuse")]
|
||||||
[System.Text.Json.Serialization.JsonPropertyName("prevent_api_abuse")]
|
[System.Text.Json.Serialization.JsonPropertyName("prevent_api_abuse")]
|
||||||
public bool IsPreventApiAbuse { get; set; }
|
public bool? IsPreventApiAbuse { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class CouponUseRule
|
public class CouponUseRule
|
||||||
|
Loading…
Reference in New Issue
Block a user