Browse Source

Merge branch 'feature-dgy-放开腾讯地址解析' into feature-dgy-功能测试

DuGuYang 11 months ago
parent
commit
773ad575fc

+ 2 - 2
Util/HaoDa/HaoDaExtQueryAuthHelper.cs

@@ -71,7 +71,7 @@ public class HaoDaExtQueryAuthHelper
                     if (merchant.Latitude == 0)
                     {
                         //签约成功调用腾讯地图接口获取地址
-                        RedisDbconn.Instance.AddList("GetTencentAddressInfoQueue", "{\"MerChantId\":\"" + merchant.Id + "\",\"Address\":\"" + merchant.Areas + merchant.Address + "\"}");
+                        RedisDbconn.Instance.AddList("GetTencentAddressInfoQueueHd", "{\"MerChantId\":\"" + merchant.Id + "\",\"Address\":\"" + merchant.Areas + merchant.Address + "\"}");
                     }
                     db.SaveChanges();
                     LogHelper.Instance.WriteLog("startsend", "获取微信商户开户意愿确认状态");
@@ -151,7 +151,7 @@ public class HaoDaExtQueryAuthHelper
                     if (merchant.Latitude == 0)
                     {
                         //签约成功调用腾讯地图接口获取地址
-                        RedisDbconn.Instance.AddList("GetTencentAddressInfoQueue", "{\"MerChantId\":\"" + merchant.Id + "\",\"Address\":\"" + merchant.Areas + merchant.Address + "\"}");
+                        RedisDbconn.Instance.AddList("GetTencentAddressInfoQueueHd", "{\"MerChantId\":\"" + merchant.Id + "\",\"Address\":\"" + merchant.Areas + merchant.Address + "\"}");
                     }
                 }
                 // else

+ 2 - 2
Util/HaoDa/HaoDaExtQueryHelper.cs

@@ -92,7 +92,7 @@ public class HaoDaExtQueryHelper
                 if (merchant.Latitude == 0)
                 {
                     //签约成功调用腾讯地图接口获取地址
-                    RedisDbconn.Instance.AddList("GetTencentAddressInfoQueue", "{\"MerChantId\":\"" + merchant.Id + "\",\"Address\":\"" + merchant.Areas + merchant.Address + "\"}");
+                    RedisDbconn.Instance.AddList("GetTencentAddressInfoQueueHd", "{\"MerChantId\":\"" + merchant.Id + "\",\"Address\":\"" + merchant.Areas + merchant.Address + "\"}");
                 }
                 db.SaveChanges();
             }
@@ -211,7 +211,7 @@ public class HaoDaExtQueryHelper
                     if (merchant.Latitude == 0)
                     {
                         //签约成功调用腾讯地图接口获取地址
-                        RedisDbconn.Instance.AddList("GetTencentAddressInfoQueue", "{\"MerChantId\":\"" + merchant.Id + "\",\"Address\":\"" + merchant.Areas + merchant.Address + "\"}");
+                        RedisDbconn.Instance.AddList("GetTencentAddressInfoQueueHd", "{\"MerChantId\":\"" + merchant.Id + "\",\"Address\":\"" + merchant.Areas + merchant.Address + "\"}");
                     }
                     db.SaveChanges();
                 }

+ 1 - 1
Util/HaoDa/Tencent/GetTencentAddressInfoService.cs

@@ -30,7 +30,7 @@ namespace MySystem
         {
             while (true)
             {
-                string data = RedisDbconn.Instance.RPop<string>("GetTencentAddressInfoQueue");
+                string data = RedisDbconn.Instance.RPop<string>("GetTencentAddressInfoQueueHd");
                 if (!string.IsNullOrEmpty(data))
                 {
                     try

+ 1 - 1
Util/HaoDa/TestHaoDaService.cs

@@ -317,7 +317,7 @@ namespace MySystem
                         if (merchant.Latitude == 0)
                         {
                             //签约成功调用腾讯地图接口获取地址
-                            RedisDbconn.Instance.AddList("GetTencentAddressInfoQueue", "{\"MerChantId\":\"" + merchant.Id + "\",\"Address\":\"" + merchant.Areas + merchant.Address + "\"}");
+                            RedisDbconn.Instance.AddList("GetTencentAddressInfoQueueHd", "{\"MerChantId\":\"" + merchant.Id + "\",\"Address\":\"" + merchant.Areas + merchant.Address + "\"}");
                         }
                         db.SaveChanges();
                     }

+ 2 - 2
Util/HaoDa/WeChatPayBackService.cs

@@ -88,7 +88,7 @@ namespace MySystem
                         if (merchant.Latitude == 0)
                         {
                             //签约成功调用腾讯地图接口获取地址
-                            RedisDbconn.Instance.AddList("GetTencentAddressInfoQueue", "{\"MerChantId\":\"" + merchant.Id + "\",\"Address\":\"" + merchant.Areas + merchant.Address + "\"}");
+                            RedisDbconn.Instance.AddList("GetTencentAddressInfoQueueHd", "{\"MerChantId\":\"" + merchant.Id + "\",\"Address\":\"" + merchant.Areas + merchant.Address + "\"}");
                         }
                     }
                     else if (addinfo.QueryCount == 1 && order.PayMode == 1)
@@ -99,7 +99,7 @@ namespace MySystem
                         if (merchant.Latitude == 0)
                         {
                             //签约成功调用腾讯地图接口获取地址
-                            RedisDbconn.Instance.AddList("GetTencentAddressInfoQueue", "{\"MerChantId\":\"" + merchant.Id + "\",\"Address\":\"" + merchant.Areas + merchant.Address + "\"}");
+                            RedisDbconn.Instance.AddList("GetTencentAddressInfoQueueHd", "{\"MerChantId\":\"" + merchant.Id + "\",\"Address\":\"" + merchant.Areas + merchant.Address + "\"}");
                         }
                     }
                     order.UserId = merchant.UserId;