Browse Source

会员升级

Kirin 2 months ago
parent
commit
fa3db6b190
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/services/order/StoreOrderTakeServices.php

+ 1 - 1
app/services/order/StoreOrderTakeServices.php

@@ -244,7 +244,7 @@ class StoreOrderTakeServices extends BaseServices
         //商城分销功能是否开启 0关闭1开启
         if (!sys_config('brokerage_func_status')) return $storeOrderServices->update($orderInfo['id'], ['send_area_award' => 1]);
 
-        if (sys_config('area_award_time') > 0) return $storeOrderServices->update($orderInfo['id'], ['send_area_award' => 1]);
+        if (sys_config('area_award_time') > 0) return true;
 
         // 营销产品不返佣金
         if (!isset($orderInfo['type']) || in_array($orderInfo['type'], [1, 2, 3, 5, 8])) {