|
Server : Microsoft-IIS/10.0 System : Windows NT EBS-6136 10.0 build 17763 (Windows Server 2016) i586 User : jxgj ( 0) PHP Version : 7.0.33 Disable Function : passthru,exec,system,shell_exec,proc_open,popen,pcntl_exec,socket_bind,stream_socket_server Directory : D:/tmp_aspnet/root/c87b3efd/cc6243dc/ |
?#pragma checksum "D:\wwwroot\zgyzd233com\wwwroot\App_Code\AlipayConfig.cs" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "6DDB2A14673CF574C8F80B007FC0B945"
#line 1 "D:\wwwroot\zgyzd233com\wwwroot\App_Code\AlipayConfig.cs"
using System.Web;
using System.Text;
using System.IO;
using System.Net;
using System;
using System.Collections.Generic;
namespace Com.Alipay
{
/// <summary>
/// 类名:Config
/// 职能:基础配置类
/// 具体:设置帐户有关信息及返回蹊径
/// 版本:3.3
/// 日期:2012-07-05
/// 注明:
/// 以下代码只是为了方便商户测试而提供的样例代码,商户能够凭据自己网站的必要,依照技术文档编写,并非肯定要使用该代码。
/// 该代码仅供进建和钻研支付宝接口使用,只是提供一个参考。
///
/// 若何获取安全校验码和合作身份者ID
/// 1.用您的签约支付宝账号登录支付宝网站(www.alipay.com)
/// 2.点击“商家服务”(https://b.alipay.com/order/myOrder.htm)
/// 3.点击“查问合作者身份(PID)”、“查问安全校验码(Key)”
/// </summary>
public class Config
{
#region 字段
private static string partner = "";
private static string seller_email = "";
private static string key = "";
private static string input_charset = "";
private static string sign_type = "";
#endregion
static Config()
{
//↓↓↓↓↓↓↓↓↓↓请在这里配置您的根基信息↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
//合作身份者ID,以2088开头由16位纯数字组成的字符串
partner = "2088521045252909";
//收款支付宝账号
seller_email = "398401315@qq.com";
//买卖安全检验码,由数字和字母组成的32位字符串
key = "yw4gfrb0ancic8l33cw9t8nb8b4awl30";
//↑↑↑↑↑↑↑↑↑↑请在这里配置您的根基信息↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
//字符编码体式 目前支持 gbk 或 utf-8
input_charset = "utf-8";
//署名方式,选择项:RSA、DSA、MD5
sign_type = "MD5";
}
#region 属性
/// <summary>
/// 获取或设置合作者身份ID
/// </summary>
public static string Partner
{
get { return partner; }
set { partner = value; }
}
/// <summary>
/// 获取或设置合作者身份ID
/// </summary>
public static string Seller_email
{
get { return seller_email; }
set { seller_email = value; }
}
/// <summary>
/// 获取或设买卖安全校验码
/// </summary>
public static string Key
{
get { return key; }
set { key = value; }
}
/// <summary>
/// 获取字符编码体式
/// </summary>
public static string Input_charset
{
get { return input_charset; }
}
/// <summary>
/// 获取署名方式
/// </summary>
public static string Sign_type
{
get { return sign_type; }
}
#endregion
}
}
#line default
#line hidden