72 lines
3.2 KiB
C#
72 lines
3.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Configuration;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace PayService
|
|
{
|
|
class Const
|
|
{
|
|
//编码
|
|
public static string charset = "GBK";
|
|
|
|
//公钥
|
|
public static string publicKey = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC2RoxlKpluDLqONfyeI/atYmCdZ99/c0KVkI/2" +
|
|
"ltHodUivwlluSrHMulvOtD8zsvCbl6Q5vIt5V7xrgxka+KXbqOLF8Th+qILqhP2oYl783T9IWvb6" +
|
|
"JxiUsOqm/iD6lnhQgfGRnVqHO7hyYk1+MFtELfS7zWPVDTkUUQpmkwyEuQIDAQAB";
|
|
|
|
//私钥
|
|
public static string privateKey = @"MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBALZGjGUqmW4Muo41/J4j9q1iYJ1n" +
|
|
"339zQpWQj/aW0eh1SK/CWW5Kscy6W860PzOy8JuXpDm8i3lXvGuDGRr4pduo4sXxOH6oguqE/ahi" +
|
|
"XvzdP0ha9vonGJSw6qb+IPqWeFCB8ZGdWoc7uHJiTX4wW0Qt9LvNY9UNORRRCmaTDIS5AgMBAAEC" +
|
|
"gYEAlajjSYVqqNNGsdFd87Jvrfjifxt0hL7sYsVpjvxSqVzzK2yV5VrrFb/F9bhFVHuN1xLxQn6u" +
|
|
"vhjtmhDwIhcahhaYKWlOkeYlQ4c0fQqkq4XlBIxacBL4uI1Fm+gOLcwS6kIvUcMQmmgZ9S6ZJ7Tr" +
|
|
"PaSkrKYT+tMR+hqCy91PyQECQQDtfFtAy0Zgc5cblMxB+wJiD7NukNaBy6O7X6nkU2apd0LndEJd" +
|
|
"oUtBSxfEHsgWspQ8LZk1LE2oS7lRjtj/o5RRAkEAxHxUZeyyD1+r9Kuk6lPx59DKpdwh2aXojEc1" +
|
|
"QAsS34l8j8vzcl62IzABQqC/Jgr70TnGVX65m/U3/+gRwdNX6QJBAIESfHorwNU9HZyE87rMlM/9" +
|
|
"HpVyLNOgfR2icbDBz2M9iWRIYKWIu2ECUilqXW9QoZZPZhxrNs3IUjFMhQ3ztvECQCkGnMi7Z2J2" +
|
|
"Y30u6bxT0srIecev8xFy5t+Dbsb0iPhLyMptl2NmCznFqD21OrRCztmc6qCnWTILPaodVrfV3SEC" +
|
|
"QE2IQKaLCBtYBDd5mYNNY1X83wgqYjkvE97BC08sI8EREJWl1ytckMhU7MNYzVbvfqCk0Hc4hgSS" +
|
|
"2zbIbRBZqLw=";
|
|
|
|
//机构号
|
|
public static string ins_cd = "08M0063437";
|
|
|
|
//服务区、门店编码
|
|
public static string[] ShopCode = ConfigurationManager.AppSettings["ShopCode"].ToString().Split(',');
|
|
//商户号
|
|
public static string[] Business_Code = ConfigurationManager.AppSettings["Business_Code"].ToString().Split(',');
|
|
//商户号
|
|
public static string mchnt_cd = "";
|
|
|
|
//终端号
|
|
public static string term_id = "";
|
|
public static string[] term_Code = ConfigurationManager.AppSettings["term_Code"].ToString().Split(',');
|
|
|
|
//终端IP
|
|
public static string term_ip = "127.0.0.1";
|
|
|
|
//异步通知
|
|
public static string notify_url = "http://www.wrx.cn";
|
|
|
|
//下单
|
|
public static string preCreate_url = "https://spay.fuiou.com/preCreate";
|
|
//扫码
|
|
public static string micropay_url = "https://spay.fuiou.com/micropay";
|
|
//查询
|
|
public static string commonQuery_url = "https://spay.fuiou.com/commonQuery";
|
|
//退款
|
|
public static string commonRefund_url = "https://spay.fuiou.com/commonRefund";
|
|
//资金划拨信息
|
|
// public static string fuiou_xx_url = "https://spay.fuiou.com/queryChnlPayAmt";
|
|
//查询可提现资金
|
|
public static string fuiou_27_url = "https://spay.fuiou.com/queryWithdrawAmt";
|
|
//查询手续费
|
|
public static string fuiou_28_url = "https://spay.fuiou.com/queryFeeAmt";
|
|
//提现
|
|
public static string fuiou_29_url = "https://spay.fuiou.com/withdraw";
|
|
}
|
|
}
|