Przeglądaj źródła

赠送养老金

xialei 1 rok temu
rodzic
commit
3a4e03d8f7

+ 12 - 1
app/common/repositories/store/order/StoreOrderRepository.php

@@ -1110,7 +1110,18 @@ class StoreOrderRepository extends BaseRepository
1110 1110
                             ];
1111 1111
                             $user_res_log = Db::name("user_sign_fugou")->insert( $log_data);
1112 1112
 
1113
-
1113
+                            $commissionMoney = $array_fzone_paytype['price']*0.3;
1114
+                            //判断数据库有无此订单
1115
+                            $type_shop = 0;
1116
+                            $orderThird = app()->make(\app\common\repositories\user\UserThirdRepository::class);
1117
+                            //预估养老金
1118
+                            $orderThird->yuguOrder(
1119
+                                $_order->order_id,
1120
+                                $commissionMoney,
1121
+                                $uid,
1122
+                                $_order->order_sn,
1123
+                                $type_shop,
1124
+                                'order_huafei');
1114 1125
                         }
1115 1126
 
1116 1127
                     }