Skip to content

Commit

Permalink
fix(tenpayv2): fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fudiwei committed Jan 25, 2022
1 parent 3b4778d commit 7c8475e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ public static IDictionary<string, string> GenerateParametersForMiniProgramPAPPay
/// <param name="idCardNumber"></param>
/// <param name="outerId"></param>
/// <returns></returns>
public static IDictionary<string, string> GenerateParametersForMiniProgramPAPPayEntrust(this WechatTenpayClient client, string appId, string subMerchantId, string? subAppId, int planId, string contractCode, long requestSerialNumber, string contractDisplayAccount, string notifyUrl, string clientIp, string? deviceId, string? userMobile, string? userEmail, string? userQQ, string? openId, string? idCardNumber, string? outerId)
public static IDictionary<string, string> GenerateParametersForMiniProgramPAPPayPartnerEntrust(this WechatTenpayClient client, string appId, string subMerchantId, string? subAppId, int planId, string contractCode, long requestSerialNumber, string contractDisplayAccount, string notifyUrl, string clientIp, string? deviceId, string? userMobile, string? userEmail, string? userQQ, string? openId, string? idCardNumber, string? outerId)
{
if (client is null) throw new ArgumentNullException(nameof(client));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,12 @@ public class CreateDepositUnifiedOrderResponse : WechatTenpaySignableResponse
[Newtonsoft.Json.JsonProperty("code_url")]
[System.Text.Json.Serialization.JsonPropertyName("code_url")]
public string? CodeUrl { get; set; }

/// <summary>
/// 获取或设置支付跳转链接。
/// </summary>
[Newtonsoft.Json.JsonProperty("mweb_url")]
[System.Text.Json.Serialization.JsonPropertyName("mweb_url")]
public string? MobileWebUrl { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,12 @@ public class CreatePayUnifiedOrderResponse : WechatTenpaySignableResponse
[Newtonsoft.Json.JsonProperty("code_url")]
[System.Text.Json.Serialization.JsonPropertyName("code_url")]
public string? CodeUrl { get; set; }

/// <summary>
/// 获取或设置支付跳转链接。
/// </summary>
[Newtonsoft.Json.JsonProperty("mweb_url")]
[System.Text.Json.Serialization.JsonPropertyName("mweb_url")]
public string? MobileWebUrl { get; set; }
}
}

0 comments on commit 7c8475e

Please sign in to comment.