|
|
@@ -244,10 +244,13 @@ namespace MySystem
|
|
|
{
|
|
|
// string content = SetDepositPostService.Instance.LDZZBFeeRate(merno, 0.68M, 3);
|
|
|
string content = SetDepositPostService.Instance.LDZZBFeeRate(merno, 0.68M, 0);
|
|
|
- JsonData jsonObj = JsonMapper.ToObject(content);
|
|
|
- string aesKey = jsonObj["encryptKey"].ToString();
|
|
|
- aesKey = SetDepositPostService.Instance.LDZZBDecrypt(aesKey);
|
|
|
- content += SetDepositPostService.Instance.AesDecrypt(jsonObj["data"].ToString(), aesKey);
|
|
|
+ if(content.Contains("encryptKey"))
|
|
|
+ {
|
|
|
+ JsonData jsonObj = JsonMapper.ToObject(content);
|
|
|
+ string aesKey = jsonObj["encryptKey"].ToString();
|
|
|
+ aesKey = SetDepositPostService.Instance.LDZZBDecrypt(aesKey);
|
|
|
+ content += SetDepositPostService.Instance.AesDecrypt(jsonObj["data"].ToString(), aesKey);
|
|
|
+ }
|
|
|
function.WriteLog(merno + "\n" + content + "\n\n", "tmp联动力POS临时费率");
|
|
|
Thread.Sleep(1000);
|
|
|
}
|