Skip to content

Commit

Permalink
修改支付宝和微信支付下载对帐单接口返回结果
Browse files Browse the repository at this point in the history
  • Loading branch information
UtilCore committed Mar 30, 2020
1 parent 99ea0bf commit 6e46d89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public AlipayDownloadBillResult( AlipayResult result,string url, List<AlipayBill
Message = result.GetMessage();
Parameter = result.Builder.ToString();
DownloadUrl = url;
Bills = bills;
Bills = bills ?? new List<AlipayBillInfo>();
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ public WechatpayDownloadBillResult( bool success, WechatpayResult result ) {
ErrorMessage = result.GetErrorCodeDescription();
Raw = result.Raw;
Parameter = result.Builder.ToString();
Bills = new List<WechatpayBillInfo>();
}

/// <summary>
Expand All @@ -27,7 +28,7 @@ public WechatpayDownloadBillResult( bool success, WechatpayResult result ) {
public WechatpayDownloadBillResult( bool success, string parameter, List<WechatpayBillInfo> bills ) {
Success = success;
Parameter = parameter;
Bills = bills;
Bills = bills ?? new List<WechatpayBillInfo>();
}

/// <summary>
Expand Down

0 comments on commit 6e46d89

Please sign in to comment.