|
|
@@ -342,7 +342,10 @@ namespace MySystem
|
|
|
Dictionary<string, object> data = new Dictionary<string, object>();
|
|
|
data.Add("data_type", dataType);
|
|
|
data.Add("data_content", dataContent);
|
|
|
- RedisDbconn.Instance.AddList("KxsPosDataQueue", Newtonsoft.Json.JsonConvert.SerializeObject(data));
|
|
|
+ if(RedisDbconn.Instance.Get<string>("KxsPosDataQueueStatus") == "1")
|
|
|
+ {
|
|
|
+ RedisDbconn.Instance.AddList("KxsPosDataQueue", Newtonsoft.Json.JsonConvert.SerializeObject(data));
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
public static string getRequestId(int id, string type)
|