Browse Source

添加交易活动判断

DuGuYang 8 months ago
parent
commit
50f5c6e515
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Areas/Api/Controllers/v1/MainServer/ConsumerOrdersController.cs

+ 1 - 0
Areas/Api/Controllers/v1/MainServer/ConsumerOrdersController.cs

@@ -325,6 +325,7 @@ namespace MySystem.Areas.Api.Controllers.v1
                 {
                     ActFlag = false;
                 }
+                if (merchant.IsAct == 0) ActFlag = false;
                 ConsumerOrders order = maindb.ConsumerOrders.Add(new ConsumerOrders()
                 {
                     // Id = PublicFunction.MakeConsumerOrderId(),