hefei 1 rok temu
rodzic
commit
02fe9fd37e

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

@@ -9787,7 +9787,7 @@ class StoreOrderRepository extends BaseRepository
9787 9787
                         $yj_amount_90 = bcmul($pv * 0.9, 0.05, 2);
9788 9788
                         $fgj_amount_10 = bcmul($pv * 0.1, 0.05, 2);//推广者的佣金抽10%到个人复购金
9789 9789
                         //推广佣金
9790
-                        $this->bill_user_log($merchant_data['uid'], $yj_amount_90, $store_order_data['order_id'], 3, $store_order_data['order_sn'], '推广获得佣金', $store_order_data['mer_id'], 0);
9790
+                        $this->bill_user_log($merchant_data['uid'], $yj_amount_90, $store_order_data['order_id'], 3, $store_order_data['order_sn'], '锁客获得佣金', $store_order_data['mer_id'], 0);
9791 9791
                     }
9792 9792
                 }
9793 9793
             }
@@ -10020,7 +10020,7 @@ class StoreOrderRepository extends BaseRepository
10020 10020
                         $fgj_amount_10 = bcmul($pv * 0.1, 0.05, 2);//推广者的佣金抽10%到个人复购金
10021 10021
                         $this->fugou_user_log($merchant_data['uid'], $fgj_amount_10, $store_order_data['order_id'], 1);
10022 10022
                         //推广佣金
10023
-                        $this->bill_user_log($merchant_data['uid'], $yj_amount_90, $store_order_data['order_id'], 3, $store_order_data['order_sn'], '推广获得佣金', $store_order_data['mer_id'], 0);
10023
+                        $this->bill_user_log($merchant_data['uid'], $yj_amount_90, $store_order_data['order_id'], 3, $store_order_data['order_sn'], '锁客获得佣金', $store_order_data['mer_id'], 0);
10024 10024
                     }
10025 10025
                     /** @var OrderMerchantRepository $orderMerchantRepository */
10026 10026
                     $orderMerchantRepository = app()->make(OrderMerchantRepository::class);

+ 3 - 1
app/controller/api/Notify.php

@@ -264,7 +264,7 @@ class Notify
264 264
 
265 265
                                             //Db::name('user')->where('uid',$merchant_data['uid'])->update(['brokerage_price'=>$yj_amount,'fugou'=>$fgj_amount]);
266 266
                                             //推广佣金
267
-                                            $this->bill_user_log($merchant_data['uid'],  $yj_amount_90,$store_order_data['order_id'],3,$store_order_data['order_sn'],'推广获得佣金',$store_order_data['mer_id'],0);
267
+                                            $this->bill_user_log($merchant_data['uid'],  $yj_amount_90,$store_order_data['order_id'],3,$store_order_data['order_sn'],'锁客获得佣金',$store_order_data['mer_id'],0);
268 268
 
269 269
                                         }
270 270
 
@@ -1728,6 +1728,8 @@ class Notify
1728 1728
         }else if($comm_order_type==5){
1729 1729
             $name = '养老金';
1730 1730
             //$user_bill_status = Db::name('store_order')->where("order_id",$order_id)->update(['gzc'=>1]);
1731
+        } else if ($comm_order_type == 20) {
1732
+            $name = '分享收益';
1731 1733
         }
1732 1734
 
1733 1735
         $bill = [