Config.cs 699 B

1234567891011121314151617181920212223
  1. namespace GxPress.Common.AliPay
  2. {
  3. public class Config
  4. {
  5. // 应用ID,您的APPID
  6. public static string AppId = "2021001165691710";
  7. // 支付宝网关
  8. public static string Gatewayurl = "https://openapi.alipay.com/gateway.do";
  9. // 商户私钥,您的原始格式RSA私钥
  10. public static string PrivateKey = "";
  11. // 支付宝公钥,查看地址:https://openhome.alipay.com/platform/keyManage.htm 对应APPID下的支付宝公钥。
  12. public static string AlipayPublicKey = "";
  13. // 签名方式
  14. public static string SignType = "RSA2";
  15. // 编码格式
  16. public static string CharSet = "UTF-8";
  17. }
  18. }