DuGuYang 1 год назад
Родитель
Сommit
8298aac91e
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      Areas/Api/Controllers/v1/MainServer/ConsumerOrdersController.cs

+ 1 - 2
Areas/Api/Controllers/v1/MainServer/ConsumerOrdersController.cs

@@ -405,14 +405,13 @@ namespace MySystem.Areas.Api.Controllers.v1
         }
         private AppResultJson CancelDiviDo(string value)
         {
-            function.WriteLog(DateTime.Now.ToString() + "\r\n" + "Value:" + value + "\r\n\r\n", "直连订单取消返现日志");
             JsonData data = JsonMapper.ToObject(value);
             Dictionary<string, object> Obj = new Dictionary<string, object>();
             int Id = int.Parse(function.CheckInt(data["id"].ToString()));
             ConsumerOrders order = maindb.ConsumerOrders.FirstOrDefault(m => m.Id == Id);
             if (order != null)
             {
-                List<ConsumerOrders> suborders = RedisDbconn.Instance.GetList<ConsumerOrders>("ConsumerOrders:Divi:" + order.PayMode + ":" + order.MerchantId);
+                List<ConsumerOrders> suborders = RedisDbconn.Instance.GetList<ConsumerOrders>("ConsumerOrders:Divi:" + order.PayMode + ":" + order.MerchantId, 1, 999999);
                 if (suborders.Count > 0)
                 {
                     ConsumerOrders suborder = suborders.FirstOrDefault(m => m.Id == Id);