|
@@ -57,6 +57,8 @@ namespace MySystem
|
|
|
order.UpdateDate = DateTime.Now;
|
|
|
order.PayMoney = order.PayMoney * 10000;
|
|
|
order.MaxDivi = order.MaxDivi * 10000;
|
|
|
+ MerchantInfo merchant = db.MerchantInfo.FirstOrDefault(m => m.Id == order.MerchantId) ?? new MerchantInfo();
|
|
|
+ order.UserId = merchant.UserId;
|
|
|
db.SaveChanges();
|
|
|
RedisDbconn.Instance.AddList("ConsumerOrdersStat", order.Id);
|
|
|
RedisDbconn.Instance.AddList("ConsumerOrders:Divi:List", order.Id.ToString());
|