feat(wxapi): 随官方更新微信小店联盟带货机构佣金单相关接口模型
Some checks failed
CodeQL / Analyze (csharp) (push) Has been cancelled
CodeLint / Lint (push) Has been cancelled

This commit is contained in:
Fu Diwei
2025-07-27 15:57:57 +08:00
parent 2b1bf85183
commit 083c1ec218
2 changed files with 48 additions and 6 deletions

View File

@@ -80,6 +80,20 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
[System.Text.Json.Serialization.JsonPropertyName("nickname")]
public string Nickname { get; set; } = default!;
/// <summary>
/// 获取或设置达人头像 URL。
/// </summary>
[Newtonsoft.Json.JsonProperty("head_img_url")]
[System.Text.Json.Serialization.JsonPropertyName("head_img_url")]
public string HeadImageUrl { get; set; } = default!;
/// <summary>
/// 获取或设置视频号 OpenFinderId。
/// </summary>
[Newtonsoft.Json.JsonProperty("openfinderid")]
[System.Text.Json.Serialization.JsonPropertyName("openfinderid")]
public string? OpenFinderId { get; set; }
/// <summary>
/// 获取或设置佣金费率(单位:万分数)。
/// </summary>
@@ -111,12 +125,19 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
[System.Text.Json.Serialization.JsonPropertyName("nickname")]
public string Nickname { get; set; } = default!;
/// <summary>
/// 获取或设置推客头像 URL。
/// </summary>
[Newtonsoft.Json.JsonProperty("head_img_url")]
[System.Text.Json.Serialization.JsonPropertyName("head_img_url")]
public string HeadImageUrl { get; set; } = default!;
/// <summary>
/// 获取或设置推客 OpenSharerId。
/// </summary>
[Newtonsoft.Json.JsonProperty("opensharerid")]
[System.Text.Json.Serialization.JsonPropertyName("opensharerid")]
public string OpenSharerId { get; set; } = default!;
public string? OpenSharerId { get; set; }
/// <summary>
/// 获取或设置佣金(单位:分)。
@@ -149,12 +170,19 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
[System.Text.Json.Serialization.JsonPropertyName("nickname")]
public string Nickname { get; set; } = default!;
/// <summary>
/// 获取或设置达人平台头像 URL。
/// </summary>
[Newtonsoft.Json.JsonProperty("head_img_url")]
[System.Text.Json.Serialization.JsonPropertyName("head_img_url")]
public string HeadImageUrl { get; set; } = default!;
/// <summary>
/// 获取或设置带货达人 OpenTalentId。
/// </summary>
[Newtonsoft.Json.JsonProperty("opentalentid")]
[System.Text.Json.Serialization.JsonPropertyName("opentalentid")]
public string OpenTalentId { get; set; } = default!;
public string? OpenTalentId { get; set; }
/// <summary>
/// 获取或设置佣金(单位:分)。
@@ -176,8 +204,8 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
/// <summary>
/// 获取或设置机构 AppId。
/// </summary>
[Newtonsoft.Json.JsonProperty("sharer_appid")]
[System.Text.Json.Serialization.JsonPropertyName("sharer_appid")]
[Newtonsoft.Json.JsonProperty("appid")]
[System.Text.Json.Serialization.JsonPropertyName("appid")]
public string AgencyAppId { get; set; } = default!;
/// <summary>
@@ -187,6 +215,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
[System.Text.Json.Serialization.JsonPropertyName("nickname")]
public string Nickname { get; set; } = default!;
/// <summary>
/// 获取或设置帮卖机构头像 URL。
/// </summary>
[Newtonsoft.Json.JsonProperty("head_img_url")]
[System.Text.Json.Serialization.JsonPropertyName("head_img_url")]
public string HeadImageUrl { get; set; } = default!;
/// <summary>
/// 获取或设置结算时间戳。
/// </summary>
@@ -234,7 +269,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
/// </summary>
[Newtonsoft.Json.JsonProperty("openfinderid")]
[System.Text.Json.Serialization.JsonPropertyName("openfinderid")]
public string OpenFinderId { get; set; } = default!;
public string? OpenFinderId { get; set; }
}
public class TalentInfo
@@ -258,7 +293,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
/// </summary>
[Newtonsoft.Json.JsonProperty("opentalentid")]
[System.Text.Json.Serialization.JsonPropertyName("opentalentid")]
public string OpenTalentId { get; set; } = default!;
public string? OpenTalentId { get; set; }
}
public class MpInfo

View File

@@ -43,6 +43,13 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
[Newtonsoft.Json.JsonProperty("ratio_to_service_rate")]
[System.Text.Json.Serialization.JsonPropertyName("ratio_to_service_rate")]
public int RatioToServiceRate { get; set; }
/// <summary>
/// 获取或设置达人精确佣金率(单位:万分数)。
/// </summary>
[Newtonsoft.Json.JsonProperty("ratio_ext")]
[System.Text.Json.Serialization.JsonPropertyName("ratio_ext")]
public int RatioExt { get; set; }
}
}