|
@@ -1250,22 +1250,22 @@ namespace MySystem
|
|
|
#region 拉卡拉
|
|
|
|
|
|
// 测试环境
|
|
|
- string lklClientId = "testsit";
|
|
|
- string lklClientSecret = "EguwEckByf2I6u6z";
|
|
|
- string userName = "13200000001";
|
|
|
- string password = "12345qwert";
|
|
|
- string lklReqUrl = "https://test.wsmsd.cn/sit";
|
|
|
- string lklPriKey = "MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBAKnlpXdmJcbZHxh3w3Ghy/5wXtUBQcFzRMXgw2d7uYjzAzbIQ/ZCAj6srWoN/obtkU+G62kgcpByGmiVtK4LS+BoelKM705SzV+mcr8mNmr2jwNq1SwDSfgVxx5z00FtXl3LnKvCujvGYOmx6+nX8h6IiyyLX6IP6cFaqpUXHsZVAgMBAAECgYA4NpeM7etJ48T6H4Y3LsWEJkH6UDQlgbIblsaQkstMmLtTgOebrzN28UNfd8njcu9FVOrHGclOKbK7L+1cOLiduWsZKc/c/gAy9wAR4EhoLvlerH9EEPiPWFxdEDbMxPqlkpqLOo+PxHrhTn4vU4CaPdJtL2ujKn7nmsUdUDWo8QJBANS1TlM6nhPt2XlzN5kGfsJ4kBYNjuLXNA2YdNuC2ttYvEXHJ9T70FN/GnRBBIZu47uHH3Ie5nfep+qMk6a8RP8CQQDMecIyI0z1kVt+tOfWKw2ZFLsi74708qTaeR4W1ABtkngj1+bxoWWXr3KqhjqJkWxnhioSfXqu7CScNzjdM1CrAkAQd+ESjI1EmbumrYb2cAxMXi05p98SLPs4uj8B58WuCda5yEuLL9vXOxX/PjFtfxRepn2GxmGtki2J+UxNMnJdAkAFoORjlO0tZU7rcfdfwdeh+xwbnhSFUZiQGv1lC3jnizybX/oPdK3jOwUhBIjf+IzPXLYTxDh4UC/BzRNXo235AkEAhgYBk6H7RU2iIuvwz1c6CtE1gJ8DvEp1F0KOMWMFB0KCpDXUToix0dlMz962FozYENi4X4zYQo6nFwlXeS3Pfw==";
|
|
|
- string lklPubKey = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCp5aV3ZiXG2R8Yd8Nxocv+cF7VAUHBc0TF4MNne7mI8wM2yEP2QgI+rK1qDf6G7ZFPhu tpIHKQchpolbSuC0vgaHpSjO9OUs1fpnK/JjZq9o8DatUsA0n4Fccec9NBbV5dy5yrwro7xmDpsevp1/IeiIssi1+iD+nBWqqVFx7GVQIDAQAB";
|
|
|
-
|
|
|
- // 生产环境
|
|
|
// string lklClientId = "testsit";
|
|
|
// string lklClientSecret = "EguwEckByf2I6u6z";
|
|
|
// string userName = "13200000001";
|
|
|
// string password = "12345qwert";
|
|
|
- // string lklReqUrl = "https://tkapi.lakala.com";
|
|
|
+ // string lklReqUrl = "https://test.wsmsd.cn/sit";
|
|
|
// string lklPriKey = "MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBAKnlpXdmJcbZHxh3w3Ghy/5wXtUBQcFzRMXgw2d7uYjzAzbIQ/ZCAj6srWoN/obtkU+G62kgcpByGmiVtK4LS+BoelKM705SzV+mcr8mNmr2jwNq1SwDSfgVxx5z00FtXl3LnKvCujvGYOmx6+nX8h6IiyyLX6IP6cFaqpUXHsZVAgMBAAECgYA4NpeM7etJ48T6H4Y3LsWEJkH6UDQlgbIblsaQkstMmLtTgOebrzN28UNfd8njcu9FVOrHGclOKbK7L+1cOLiduWsZKc/c/gAy9wAR4EhoLvlerH9EEPiPWFxdEDbMxPqlkpqLOo+PxHrhTn4vU4CaPdJtL2ujKn7nmsUdUDWo8QJBANS1TlM6nhPt2XlzN5kGfsJ4kBYNjuLXNA2YdNuC2ttYvEXHJ9T70FN/GnRBBIZu47uHH3Ie5nfep+qMk6a8RP8CQQDMecIyI0z1kVt+tOfWKw2ZFLsi74708qTaeR4W1ABtkngj1+bxoWWXr3KqhjqJkWxnhioSfXqu7CScNzjdM1CrAkAQd+ESjI1EmbumrYb2cAxMXi05p98SLPs4uj8B58WuCda5yEuLL9vXOxX/PjFtfxRepn2GxmGtki2J+UxNMnJdAkAFoORjlO0tZU7rcfdfwdeh+xwbnhSFUZiQGv1lC3jnizybX/oPdK3jOwUhBIjf+IzPXLYTxDh4UC/BzRNXo235AkEAhgYBk6H7RU2iIuvwz1c6CtE1gJ8DvEp1F0KOMWMFB0KCpDXUToix0dlMz962FozYENi4X4zYQo6nFwlXeS3Pfw==";
|
|
|
// string lklPubKey = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCp5aV3ZiXG2R8Yd8Nxocv+cF7VAUHBc0TF4MNne7mI8wM2yEP2QgI+rK1qDf6G7ZFPhu tpIHKQchpolbSuC0vgaHpSjO9OUs1fpnK/JjZq9o8DatUsA0n4Fccec9NBbV5dy5yrwro7xmDpsevp1/IeiIssi1+iD+nBWqqVFx7GVQIDAQAB";
|
|
|
+
|
|
|
+ // 生产环境
|
|
|
+ string lklClientId = "guanmi";
|
|
|
+ string lklClientSecret = "IxQfXIPae9su7HNB";
|
|
|
+ string userName = "18581888998";
|
|
|
+ string password = "Kxs@666888";
|
|
|
+ string lklReqUrl = "https://tkapi.lakala.com";
|
|
|
+ string lklPriKey = "MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBAJQkeWuNszZ4YiHGE8sAsipcQCvv/bPzkxVwWDqXcSgVQBexIk32S53jcDxTSztS0rrEEf8qnD5fcDhAlT4aETb1+Rf9+MsWuXYO1KDwMDJu/xfpvB0aCl45XYl3zAopSB7WmAEPyFHR2UuKmYCojq3BS79BhDXrOpSq68BWuuStAgMBAAECgYEAhhGobWT1LrOuI+CuYwcDNwD79oegdC5ZC4r73jLWbq8krQxa/nGLJ54BIidDq7GeEvaFTweSFYSr+8y/BE/1CQZzlirpWztZ7VYeZFVWjYaPHBBuDdqnwoBS7Y7TbK36HzWEac+FJFzfjbuixkEKU+x1bemHzBsMaNG4HrMMOWECQQDN57mrwX3n5V9IrLy29UFhfbv1HTXLsCL88ZUdpwSUhX6iAV8AmpN4Bri8zZkQ2+CUBDv36XPsA/4RE2gz86YlAkEAuC8l1ALvtSLOMBKwLxVRTv0JwlysjyC4o7LZX1doRR42C4IWHC8GpukqkyDK3m0PWZV8/7qqOmUqUbDf9m3p6QJAH3Ctqis+ZWVhukAeBLXISPGg/Jl8OGDpxsPAqClzipYjsusQrY/sypwEI1glciyQyykmWwF7oOMvLT5QX/ZpPQJAU7XKAZPcEn1hLOQxgxSzQa0rtFSecOa0RGJS/UwirddPROe42NJeuZmbqgbrbTAwG80fZLMYDzZPh5VWFRBbkQJAKRl1GMnquvNkDcBFjrBHaaBRGP5EngsnHQguOHzZpBRoDiAaPM+bpQac+o67ycgAvpL2FNSslzHUvSL8AKlM7w==";
|
|
|
+ string lklPubKey = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCUJHlrjbM2eGIhxhPLALIqXEAr7/2z85MVcFg6l3EoFUAXsSJN9kud43A8U0s7UtK6xBH/Kpw+X3A4QJU+GhE29fkX/fjLFrl2DtSg8DAybv8X6bwdGgpeOV2Jd8wKKUge1pgBD8hR0dlLipmAqI6twUu/QYQ16zqUquvAVrrkrQIDAQAB";
|
|
|
|
|
|
public string LkLGetToken()
|
|
|
{
|
|
@@ -1314,11 +1314,11 @@ namespace MySystem
|
|
|
}
|
|
|
public string LkLSetDeposit(string sn, decimal serviceFee)
|
|
|
{
|
|
|
- string target = "ZC0801TEST1HD1";
|
|
|
- if(serviceFee == 0) target = "22NHTK4GDQPOSFYHDAB";
|
|
|
- if(serviceFee == 99) target = "ZC0801TEST1HD1";
|
|
|
- if(serviceFee == 199) target = "0426_YJ199_1";
|
|
|
- if(serviceFee == 299) target = "ZC0801TEST1HD1";
|
|
|
+ string target = "";
|
|
|
+ if(serviceFee == 0) target = "24NYTK4GDQKXSFYHD";
|
|
|
+ if(serviceFee == 99) target = "24NYTK4GDQKXSYJ99HD";
|
|
|
+ if(serviceFee == 199) target = "24NYTK4GDQKXSYJ199HD";
|
|
|
+ if(serviceFee == 299) target = "24NYTK4GDQKXSYJ299HD";
|
|
|
Dictionary<string, string> headers = new Dictionary<string, string>();
|
|
|
headers.Add("Authorization", "bearer " + LkLGetToken());
|
|
|
Dictionary<string, string> req = new Dictionary<string, string>();
|