浏览代码

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

lcl 2 年之前
父节点
当前提交
093ab906fa
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      AppStart/Helper/AlipayPayBack2Service.cs

+ 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;