first(); // try { // DB::beginTransaction(); // (new DistributeService())->wechatShare($order); // $order->update(['profit_paid' => now()]); // DB::commit(); // } catch (\Exception $e) { // DB::rollBack(); // report($e); // } dump(route('wxpay.paid_notify', ['payment' => 'default'])); $this->assertTrue(true); } }