feat(wxapi): 随官方更新第三方平台代商家管理小程序类目管理相关接口模型

This commit is contained in:
Fu Diwei 2023-09-26 22:30:51 +08:00
parent e768ef071b
commit 19932504d0
3 changed files with 25 additions and 5 deletions

View File

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{ {
@ -28,6 +28,22 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
[Newtonsoft.Json.JsonProperty("value")] [Newtonsoft.Json.JsonProperty("value")]
[System.Text.Json.Serialization.JsonPropertyName("value")] [System.Text.Json.Serialization.JsonPropertyName("value")]
public string PictureMediaId { get; set; } = string.Empty; 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; }
} }
} }

View File

@ -1,4 +1,4 @@
{ {
"categories": [ "categories": [
{ {
"first": 8, "first": 8,
@ -6,7 +6,9 @@
"certicates": [ "certicates": [
{ {
"key": "《因私出入境中介机构经营许可证》", "key": "《因私出入境中介机构经营许可证》",
"value": "media_id" "value": "media_id",
"expire_time": 123456,
"is_permanent": 1
} }
] ]
} }

View File

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