|
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/cae6aa2e/15328683/ |
?#pragma checksum "D:\wwwroot\anlian2025\wwwroot\App_Code\wxshaoma\Config.cs" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "9832DF891E6713EED28D4FD086D4789E4CD24729"
#line 1 "D:\wwwroot\anlian2025\wwwroot\App_Code\wxshaoma\Config.cs"
using System;
using System.Collections.Generic;
using System.Web;
namespace WxPayAPI
{
/**
* 配置账号信息
*/
public class WxPayConfig
{
//=======【根基信息设置】=====================================
/* 微信公家号信息配置
* APPID:绑定支付的APPID(必须配置)
* MCHID:商户号(必须配置)
* KEY:商户支讣钥,参考开户邮件设置(必须配置)
* APPSECRET:公家帐号secert(仅JSAPI支付的时辰必要配置)
*/
public static string strWebUrl = "http://" + HttpContext.Current.Request.Url.Host;
public static string APPID = webpay.webpaycan.Get("weixin_appid");
public static string MCHID = webpay.webpaycan.Get("weixin_mchid");
public static string KEY = webpay.webpaycan.Get("weixin_key");
public static string APPSECRET = webpay.webpaycan.Get("weixin_appsecret");
//=======【证书蹊径设置】=====================================
/* 证书蹊径,把稳应该填写绝对蹊径(仅退款、撤销订单时必要)
*/
public const string SSLCERT_PATH = "cert/apiclient_cert.p12";
public const string SSLCERT_PASSWORD = "1233410002";
//=======【支付了局通知url】=====================================
/* 支付了局通知回调url,用于商户接管支付了局
*/
public static string NOTIFY_URL = strWebUrl+"/Pay/ResultPay.aspx";
//=======【商户系统后盾机械IP】=====================================
/* 此参数可手动配置也可在法式中自动获取
*/
public const string IP = "8.8.8.8";
//=======【代理服务器设置】===================================
/* 默认IP和端标语别离为0.0.0.0和0,此时不开启代理(如有必要才设置)
*/
public const string PROXY_URL = "0";
//=======【上报信息配置】===================================
/* 测快上报等级,0.关关上报; 1.仅谬误时上报; 2.全量上报
*/
public const int REPORT_LEVENL = 1;
//=======【日志级别】===================================
/* 日志等级,0.不输出日志;1.只输出谬误信息; 2.输出谬误和正常信息; 3.输出谬误信息、正常信息和调试信息
*/
public const int LOG_LEVENL = 0;
}
}
#line default
#line hidden