|
@@ -116,12 +116,6 @@ namespace MySystem
|
|
|
if (pro.ProductId == 10 || pro.ProductId == 11 || pro.ProductId == 27 || pro.ProductId == 28 || pro.ProductId == 34 || pro.ProductId == -2)
|
|
|
{
|
|
|
order.Status = 2;
|
|
|
- if(product.ProductKind == 2)
|
|
|
- {
|
|
|
- order.Status = 2;
|
|
|
- order.SendStatus = 1;
|
|
|
- order.SendDate = DateTime.Now;
|
|
|
- }
|
|
|
int BuyCount = pro.ProductCount;
|
|
|
int Kind = 0;
|
|
|
int BeforeLeaderLevel = 0;
|
|
@@ -673,6 +667,16 @@ namespace MySystem
|
|
|
string SendData = "{\"Kind\":\"1\",\"Data\":{\"OrderId\":\"" + order.Id + "\"}}";
|
|
|
RedisDbconn.Instance.AddList("PreStoreApplyQueue", SendData);
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+ if(product.ProductKind == 2)
|
|
|
+ {
|
|
|
+ order.Status = 2;
|
|
|
+ order.SendStatus = 1;
|
|
|
+ order.SendDate = DateTime.Now;
|
|
|
+ db.SaveChanges();
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
else
|
|
|
{
|