diff --git a/app/common/logic/PayNotifyLogic.php b/app/common/logic/PayNotifyLogic.php index b0a35544..ef7dfc4b 100755 --- a/app/common/logic/PayNotifyLogic.php +++ b/app/common/logic/PayNotifyLogic.php @@ -418,8 +418,9 @@ class PayNotifyLogic $donglonghui = 5; //东龙汇服务费 $other_leader = 3; //分公司收入 如没有则并入东龙汇 $shop_com = 60; // 商家获取收入 - $user = Db::name("user")->where(['id' => $user_id])->find(); - $is_d = Distribution::where('user_id', $user['first_leader'] )->where('is_distribution', 1 )->find(); + var_dump(111); + $user = Db::name("user")->where(['id' => $user_id])->find();var_dump($user); + $is_d = Distribution::where('user_id', $user['first_leader'] )->where('is_distribution', 1 )->find();var_dump($is_d); $data['order_price'] = $order['order_amount']; // 改为充值金额 $data['user_id'] = $user_id; $data['goods_id'] = 0; // 充值接口不需要该参数