call_user_func_array

public function get_products_price_v2($hq_code, $product_ids, $orgz_id = null, $genre = 6)
    {
        $is_model = new InStockModel();
        $result = call_user_func_array([$is_model, 'get_latest_instock_product_price_dict'], func_get_args());

        if (count($product_ids) == count($result)) {
            return $result;
        }
        //缺失价格从商品主档获取
        $product_facade = new ProductsFacade();
        $bid_price = $product_facade->get_product_info($product_ids, ['reference_bid_price']);
        foreach ($bid_price as $key => $value) {
            if (!isset($result[$key])) {
                $result[$key] = $value['reference_bid_price'];
            }
        }
        return $result;
    }