DOVER-GLOBAL\11047086 5f82dad467 第三方支付渠道代码迁移 11 달 전
..
Domain 5f82dad467 第三方支付渠道代码迁移 11 달 전
Jayrock 5f82dad467 第三方支付渠道代码迁移 11 달 전
Parser 5f82dad467 第三方支付渠道代码迁移 11 달 전
Properties 5f82dad467 第三方支付渠道代码迁移 11 달 전
Request 5f82dad467 第三方支付渠道代码迁移 11 달 전
Response 5f82dad467 第三方支付渠道代码迁移 11 달 전
Test 5f82dad467 第三方支付渠道代码迁移 11 달 전
Util 5f82dad467 第三方支付渠道代码迁移 11 달 전
AlipayConstants.cs 5f82dad467 第三方支付渠道代码迁移 11 달 전
AlipayMobilePublicMultiMediaClient.cs 5f82dad467 第三方支付渠道代码迁移 11 달 전
AlipayMobilePublicMultiMediaDownloadRequest.cs 5f82dad467 第三方支付渠道代码迁移 11 달 전
AlipayMobilePublicMultiMediaDownloadResponse.cs 5f82dad467 第三方支付渠道代码迁移 11 달 전
AopDictionary.cs 5f82dad467 第三方支付渠道代码迁移 11 달 전
AopException.cs 5f82dad467 第三方支付渠道代码迁移 11 달 전
AopObject.cs 5f82dad467 第三方支付渠道代码迁移 11 달 전
AopResponse.cs 5f82dad467 第三方支付渠道代码迁移 11 달 전
AopSdk.csproj 5f82dad467 第三方支付渠道代码迁移 11 달 전
AopSdk.sln 5f82dad467 第三方支付渠道代码迁移 11 달 전
DefaultAopClient.cs 5f82dad467 第三方支付渠道代码迁移 11 달 전
IAopClient.cs 5f82dad467 第三方支付渠道代码迁移 11 달 전
IAopRequest.cs 5f82dad467 第三方支付渠道代码迁移 11 달 전
IAopUploadRequest.cs 5f82dad467 第三方支付渠道代码迁移 11 달 전
ResponseParseItem.cs 5f82dad467 第三方支付渠道代码迁移 11 달 전
SignItem.cs 5f82dad467 第三方支付渠道代码迁移 11 달 전
readme.txt 5f82dad467 第三方支付渠道代码迁移 11 달 전

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 Կ
ǩ