Эх сурвалжийг харах

虚拟商品支付后直接设为已发货

lcl 2 жил өмнө
parent
commit
093ab906fa

+ 6 - 0
AppStart/Helper/AlipayPayBack2Service.cs

@@ -127,6 +127,12 @@ 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;