|
@@ -150,7 +150,9 @@ namespace MOKA_Factory_Tools
|
|
|
mid.clienttype = jObject["clientType"].Value<string>();
|
|
|
mid.host = jObject["host"].Value<string>();
|
|
|
mid.whiteType = jObject["whiteType"].Value<string>();
|
|
|
- mid.aesEncrypt = jObject["aesEncrypt"] == null ? false : jObject["aesEncrypt"].Value<string>().Equals("yes", StringComparison.OrdinalIgnoreCase);
|
|
|
+ string aesEncrypt = jObject["aesEncrypt"] == null ? null : jObject["aesEncrypt"].Value<string>();
|
|
|
+ if (aesEncrypt != null)
|
|
|
+ mid.aesEncrypt = aesEncrypt.Equals("yes", StringComparison.OrdinalIgnoreCase);
|
|
|
object a = jObject["rokuCustomer"];
|
|
|
if (jObject["rokuCustomer"].ToString().Length > 0)
|
|
|
{
|