Skip to content

Commit

Permalink
feat(wxapi): 随官方更新第三方平台代商家管理小程序类目管理相关接口模型
Browse files Browse the repository at this point in the history
  • Loading branch information
fudiwei committed Sep 26, 2023
1 parent e768ef0 commit 1993250
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.Collections.Generic;
using System.Collections.Generic;

namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
Expand Down Expand Up @@ -28,6 +28,22 @@ public class Qualification
[Newtonsoft.Json.JsonProperty("value")]
[System.Text.Json.Serialization.JsonPropertyName("value")]
public string PictureMediaId { get; set; } = string.Empty;

/// <summary>
/// 获取或设置资质过期时间戳。
/// </summary>
[Newtonsoft.Json.JsonProperty("expire_time")]
[System.Text.Json.Serialization.JsonPropertyName("expire_time")]
public long? ExpireTimestamp { get; set; }

/// <summary>
/// 获取或设置资质是否永久有效。
/// </summary>
[Newtonsoft.Json.JsonProperty("is_permanent")]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.NumericalNullableBooleanConverter))]
[System.Text.Json.Serialization.JsonPropertyName("is_permanent")]
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Converters.NumericalNullableBooleanConverter))]
public bool? IsPermanent { get; set; }
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{
{
"categories": [
{
"first": 8,
"second": 39,
"certicates": [
{
"key": "《因私出入境中介机构经营许可证》",
"value": "media_id"
"value": "media_id",
"expire_time": 123456,
"is_permanent": 1
}
]
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
{
"first": 8,
"second": 39,
"certicates": [
{
"key": "《因私出入境中介机构经营许可证》",
"value": ""
"value": "media_id",
"expire_time": 123456,
"is_permanent": 1
}
]
}

0 comments on commit 1993250

Please sign in to comment.