Skip to content

Commit 8ea522c

Browse files
author
dongfo
committed
代码格式调整
1 parent 280496d commit 8ea522c

5 files changed

Lines changed: 0 additions & 5 deletions

File tree

src/PaySharp.Wechatpay/ConvertUtil.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ public static List<T> ToList<T, TChildren>(GatewayData gatewayData, int index) w
1919
while (flag)
2020
{
2121
var type = typeof(T);
22-
//var obj = Activator.CreateInstance(type);
2322
var obj = new T();
2423
var properties = type.GetProperties();
2524
var isFirstProperty = true;

src/PaySharp.Wechatpay/Response/QueryResponse.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ public class QueryResponse : BaseResponse
123123

124124
internal override void Execute<TModel, TResponse>(Merchant merchant, Request<TModel, TResponse> request)
125125
{
126-
//Coupons = ConvertUtil.ToList<CouponResponse, object>(GatewayData, -1);
127126
Coupons = ConvertUtil.ToList<CouponResponse>(GatewayData);
128127
}
129128

src/PaySharp.Wechatpay/Response/RefundQueryResponse.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ public class RefundQueryResponse : BaseResponse
6464

6565
internal override void Execute<TModel, TResponse>(Merchant merchant, Request<TModel, TResponse> request)
6666
{
67-
//Refunds = ConvertUtil.ToList<RefundResponse, RefundCouponResponse>(GatewayData, -1);
6867
Refunds = ConvertUtil.ToList<RefundResponse, RefundCouponResponse>(GatewayData);
6968
}
7069

src/PaySharp.Wechatpay/Response/RefundResponse.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ public class RefundResponse : BaseResponse
9999

100100
internal override void Execute<TModel, TResponse>(Merchant merchant, Request<TModel, TResponse> request)
101101
{
102-
//RefundCoupons = ConvertUtil.ToList<RefundCouponResponse, object>(GatewayData, -1);
103102
RefundCoupons = ConvertUtil.ToList<RefundCouponResponse>(GatewayData);
104103
}
105104

src/PaySharp.Wechatpay/WechatpayGateway.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ protected override async Task<bool> ValidateNotifyAsync()
8585

8686
if (string.IsNullOrEmpty(NotifyResponse.ReqInfo))
8787
{
88-
//NotifyResponse.Coupons = ConvertUtil.ToList<CouponResponse, object>(GatewayData, -1);
8988
NotifyResponse.Coupons = ConvertUtil.ToList<CouponResponse>(GatewayData);
9089
if (NotifyResponse.Sign != SubmitProcess.BuildSign(GatewayData, _merchant.Key))
9190
{

0 commit comments

Comments
 (0)