Просмотр исходного кода

fix(order): 修复订单处理中养老金发放逻辑

- 注释掉推荐人养老金发放代码
- 保留养老金相关注释说明
shichen месяцев назад: 4
Родитель
Сommit
bcac86c067
1 измененных файлов с 8 добавлено и 8 удалено
  1. 8 8
      app/common/repositories/store/order/StoreOrderRepository.php

+ 8 - 8
app/common/repositories/store/order/StoreOrderRepository.php

@@ -4016,14 +4016,14 @@ class StoreOrderRepository extends BaseRepository
4016
                 $tuimark = "推荐消费获得养老金" . $tuiguanyanglaojin;
4016
                 $tuimark = "推荐消费获得养老金" . $tuiguanyanglaojin;
4017
 
4017
 
4018
                 //end会费
4018
                 //end会费
4019
-                //sat存养老金
4020
-                $tuititle = "养老金 ";
4021
-                $commission_type = 5;
4022
-                if ($tuiguanyanglaojin >= 0.01) {
4023
-                    $this->add_bill($tuititle, $tuiguanyanglaojin, $sprerdUser["uid"], $tuimark, $commission_type, $order_sn, $order_id, $order["mer_id"], 0, 0, $order["type_shop"]);
4024
-                } else {
4025
-                    Db::name('log')->insert(['data' => '订单号:' . $order_sn . '付款额度较低,推荐养老金低于0.01无法入库 特此记录!']);
4026
-                }
4019
+                //sat存养老金 不发放推荐人养老金
4020
+                // $tuititle = "养老金 ";
4021
+                // $commission_type = 5;
4022
+                // if ($tuiguanyanglaojin >= 0.01) {
4023
+                //     $this->add_bill($tuititle, $tuiguanyanglaojin, $sprerdUser["uid"], $tuimark, $commission_type, $order_sn, $order_id, $order["mer_id"], 0, 0, $order["type_shop"]);
4024
+                // } else {
4025
+                //     Db::name('log')->insert(['data' => '订单号:' . $order_sn . '付款额度较低,推荐养老金低于0.01无法入库 特此记录!']);
4026
+                // }
4027
 
4027
 
4028
             }
4028
             }
4029
 
4029