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

readme.txt


�q�����������������������������������������������r
���������� ֧��������ʾ���ṹ˵�� ����������
�t�����������������������������������������������s
��
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 ���󷵻ض���

������������������
2������ʾ��
������������������
��������������������������������������������������������������
���� Aop.Api.Test.PublicTest.cs

��������������������������������������������������������������

������������������
3��ǩ�������
������������������
��������������������������������������������������������������

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

��������������������������������������������������������������