sunpengfei
2025-09-30 a6e5a2e630a4a1dcfd9def94c20bde6bec89f96f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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; }
    }
}