product = ProductService::getProductSingle($order->product_id); } protected function handlePayProcess() { $total = $this->product->price * 100 + $this->product->given; $uid = $this->order->uid; UserService::addBalance($uid, $total, $this->product->price * 100, $this->product->given); } }