feat(wxapi): 新增小游戏虚拟支付 2.0 相关接口

This commit is contained in:
Fu Diwei
2023-02-15 21:50:56 +08:00
parent 32bc3f6994
commit ccf19fc20e
41 changed files with 918 additions and 177 deletions

View File

@@ -1,4 +1,4 @@
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /cgi-bin/midas/cancelpay 接口的请求。</para>
@@ -18,5 +18,15 @@
[Newtonsoft.Json.JsonProperty("pay_item")]
[System.Text.Json.Serialization.JsonPropertyName("pay_item")]
public string? PayItem { get; set; }
protected internal override string GetRequestMethod()
{
return "POST";
}
protected internal override string GetRequestPath()
{
return "/cgi-bin/midas/cancelpay";
}
}
}