|
@@ -284,5 +284,44 @@ namespace MySystem
|
|
function.WriteLog("3\n\n", "运营中心额度变更测试");
|
|
function.WriteLog("3\n\n", "运营中心额度变更测试");
|
|
}
|
|
}
|
|
#endregion
|
|
#endregion
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ #region 推送订单信息
|
|
|
|
+
|
|
|
|
+ public void SendMqOrder(Orders order)
|
|
|
|
+ {
|
|
|
|
+ RedisDbconn.Instance.AddList("KxsOrderQueue", Newtonsoft.Json.JsonConvert.SerializeObject(new MqOrder()
|
|
|
|
+ {
|
|
|
|
+ id = order.Id,
|
|
|
|
+ status = order.Status,
|
|
|
|
+ createDate = order.CreateDate,
|
|
|
|
+ snNos = order.SnNos,
|
|
|
|
+ remark = order.Remark,
|
|
|
|
+ buyCount = order.BuyCount,
|
|
|
|
+ payStatus = order.PayStatus,
|
|
|
|
+ productId = order.ProductId,
|
|
|
|
+ sendStatus = order.SendStatus,
|
|
|
|
+ deliveryType = order.DeliveryType,
|
|
|
|
+ refundStatus = order.RefundStatus,
|
|
|
|
+ payMode = order.PayMode,
|
|
|
|
+ sendDate = order.SendDate,
|
|
|
|
+ payDate = order.PayDate,
|
|
|
|
+ postalCode = order.PostalCode,
|
|
|
|
+ address = order.Address,
|
|
|
|
+ areas = order.Areas,
|
|
|
|
+ totalPrice = order.TotalPrice,
|
|
|
|
+ mobile = order.Mobile,
|
|
|
|
+ realName = order.RealName,
|
|
|
|
+ orderNo = order.OrderNo,
|
|
|
|
+ userId = order.UserId,
|
|
|
|
+ parentOrderId = order.ParentOrderId,
|
|
|
|
+ }));
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ #endregion
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
}
|
|
}
|
|
}
|
|
}
|