zhoufan vor 4 Jahren
Ursprung
Commit
761b263b93

+ 5 - 5
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/DictionaryController.cs

71
             }
71
             }
72
             if (pid=="38")
72
             if (pid=="38")
73
             {
73
             {
74
-                string rjson = RedisHelper.StringGet("ztree_38new")?.ToString() ?? "";
74
+                string rjson = RedisHelper1.StringGet("ztree_38new")?.ToString() ?? "";
75
                 if (!string.IsNullOrEmpty(rjson))
75
                 if (!string.IsNullOrEmpty(rjson))
76
                 {
76
                 {
77
                     return Success("加载成功", rjson);
77
                     return Success("加载成功", rjson);
88
             List<TreeModelNew> modelList = BindTreeNew(dt, "0", tab2);
88
             List<TreeModelNew> modelList = BindTreeNew(dt, "0", tab2);
89
             if (pid == "38")
89
             if (pid == "38")
90
             {
90
             {
91
-                RedisHelper.StringSet("ztree_38new", modelList.ToJson());
91
+                RedisHelper1.StringSet("ztree_38new", modelList.ToJson());
92
             }
92
             }
93
             if (modelList.Count > 0)
93
             if (modelList.Count > 0)
94
             {
94
             {
218
             string pid = HttpUtility.UrlDecode(RequestString.GetQueryString("pid"));
218
             string pid = HttpUtility.UrlDecode(RequestString.GetQueryString("pid"));
219
             if (pid == "38")
219
             if (pid == "38")
220
             {
220
             {
221
-                string rjson = RedisHelper.StringGet("ztree_38")?.ToString()??"";
221
+                string rjson = RedisHelper1.StringGet("ztree_38")?.ToString()??"";
222
                 if (!string.IsNullOrEmpty(rjson))
222
                 if (!string.IsNullOrEmpty(rjson))
223
                 {
223
                 {
224
                     return Success("加载成功", rjson.ToObject<DataTable>());
224
                     return Success("加载成功", rjson.ToObject<DataTable>());
243
 
243
 
244
             if (pid == "38")
244
             if (pid == "38")
245
             {
245
             {
246
-                RedisHelper.StringSet("ztree_38", tab2.ToJson());
246
+                RedisHelper1.StringSet("ztree_38", tab2.ToJson());
247
             }
247
             }
248
 
248
 
249
             return Success("加载成功", tab2);
249
             return Success("加载成功", tab2);
274
             }
274
             }
275
 
275
 
276
             var tab2 = DbHelperSQL.Query("select * from View_Keys").Tables[0];
276
             var tab2 = DbHelperSQL.Query("select * from View_Keys").Tables[0];
277
-            RedisHelper.StringSet("key_38", tab2.ToJson());
277
+            RedisHelper1.StringSet("key_38", tab2.ToJson());
278
 
278
 
279
             string sql = "";
279
             string sql = "";
280
             if (string.IsNullOrEmpty(key))
280
             if (string.IsNullOrEmpty(key))