Skip to content

Commit

Permalink
feat(wxapi): 随官方更新交易保障获取交易保障标状态接口模型
Browse files Browse the repository at this point in the history
  • Loading branch information
fudiwei committed Jun 20, 2024
1 parent 3a6acb0 commit d05fc84
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,19 @@ public class WxaApiWxaMpTradeGetGuaranteeStatusResponse : WechatApiResponse
[Newtonsoft.Json.JsonProperty("isActived")]
[System.Text.Json.Serialization.JsonPropertyName("isActived")]
public bool IsActived { get; set; }

/// <summary>
/// 获取或设置保障标状态相关信息。
/// </summary>
[Newtonsoft.Json.JsonProperty("msg")]
[System.Text.Json.Serialization.JsonPropertyName("msg")]
public string? Message { get; set; }

/// <summary>
/// 获取或设置未能开通保障标的原因列表。
/// </summary>
[Newtonsoft.Json.JsonProperty("reasons")]
[System.Text.Json.Serialization.JsonPropertyName("reasons")]
public string[]? ReasonList { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"errcode": 0,
"isActived": true
"isActived": false,
"msg": "暂未达标「交易健康标准」,已达标「交易风险评级」,可通过缴纳保证金开通",
"reasons": [ "经营时长小于3年", "保证金余额不足" ]
}

0 comments on commit d05fc84

Please sign in to comment.