using Newtonsoft.Json;
|
using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace ApiTools.Core
|
{
|
/// <summary>
|
/// 微信支付请求
|
/// </summary>
|
public class WeChatPayRequest<TPathParameters, TQueryParameters, TBodyParameters>
|
{
|
/// <summary>
|
/// 地址参数
|
/// </summary>
|
public TPathParameters PathParameters { get; set; }
|
|
/// <summary>
|
/// 查询参数
|
/// </summary>
|
public TQueryParameters QueryParamters { get; set; }
|
|
/// <summary>
|
/// 请求体参数
|
/// </summary>
|
public TBodyParameters BodyParamters { get; set; }
|
}
|
|
public class WeChatPayResponse
|
{
|
/// <summary>
|
/// 错误码
|
/// </summary>
|
[JsonProperty("code")]
|
public string Code { get; set; }
|
/// <summary>
|
/// 错误消息
|
/// </summary>
|
[JsonProperty("message")]
|
public string Message { get; set; }
|
}
|
}
|