smj_7038 b1f289b07a 支付宝退款 hace 3 años
..
Domain 4ef05d6d95 支付宝支付接入 hace 3 años
Jayrock 4ef05d6d95 支付宝支付接入 hace 3 años
Parser 4ef05d6d95 支付宝支付接入 hace 3 años
Properties 4ef05d6d95 支付宝支付接入 hace 3 años
Request 4ef05d6d95 支付宝支付接入 hace 3 años
Response b1f289b07a 支付宝退款 hace 3 años
Util 4ef05d6d95 支付宝支付接入 hace 3 años
AliPay.SDK.csproj 4ef05d6d95 支付宝支付接入 hace 3 años
AlipayConstants.cs 4ef05d6d95 支付宝支付接入 hace 3 años
AlipayMobilePublicMultiMediaClient.cs 4ef05d6d95 支付宝支付接入 hace 3 años
AlipayMobilePublicMultiMediaDownloadRequest.cs 4ef05d6d95 支付宝支付接入 hace 3 años
AlipayMobilePublicMultiMediaDownloadResponse.cs 4ef05d6d95 支付宝支付接入 hace 3 años
AopDictionary.cs 4ef05d6d95 支付宝支付接入 hace 3 años
AopException.cs 4ef05d6d95 支付宝支付接入 hace 3 años
AopObject.cs 4ef05d6d95 支付宝支付接入 hace 3 años
AopResponse.cs 4ef05d6d95 支付宝支付接入 hace 3 años
DefaultAopClient.cs 4ef05d6d95 支付宝支付接入 hace 3 años
IAopClient.cs 4ef05d6d95 支付宝支付接入 hace 3 años
IAopRequest.cs 4ef05d6d95 支付宝支付接入 hace 3 años
IAopUploadRequest.cs 4ef05d6d95 支付宝支付接入 hace 3 años
ResponseParseItem.cs 4ef05d6d95 支付宝支付接入 hace 3 años
SignItem.cs 4ef05d6d95 支付宝支付接入 hace 3 años
readme.txt 4ef05d6d95 支付宝支付接入 hace 3 años

readme.txt


qr
֧ʾṹ˵
ts

Visual studio 汾2010
Framework3.5ϰ汾
Ȩ֧й缼޹˾


1Ҫļ˵


DefaultAopClient.cs

public DefaultAopClient(string serverUrl, string appId, string privateKeyPem)
ܣ췽
룺serverUrl ǿգַԣhttp://openapi.alipaydev.com/gateway.do ϣhttps://openapi.alipay.com/gateway.do
appId ǿգӦID
privateKeyPem ǿգ˽Կ
ÿͻʵ


public T Execute(IAopRequest request) where T : AopResponse
ܣִãڲҪȨӿڵã
룺request ӿ
T 󷵻ض

public T Execute(IAopRequest request, string accessToken) where T : AopResponse
ܣִãҪȨӿڵã
룺request ӿ
accessToken Ȩ
T 󷵻ض





ο Aop.Api.Test.PublicTest.cs








Aop.Api.Util.AlipaySignature.cs

public static string RSASign(IDictionary parameters, string privateKeyPem)
ܣRSAǩ
룺parameters ǩmap
privateKeyPem ˽Կ
ǩ

public static bool RSACheckV2(IDictionary parameters, string publicKeyPem)
ܣRSAǩ
룺parameters ǩmap
publicKeyPem Կ
ǩ

public static bool RSACheckContent(string signContent, string sign, string publicKeyPem)
ܣRSAǩ
룺signContent ǩַ
sign ǩ
publicKeyPem Կ
ǩ