protected$view;
publicfunction__construct(
\Magento\Sales\Block\Adminhtml\Order\View $view
)
{
$this->view=$view;
}
publicfunctionYourfunction(){
$orderIds=$this->view->getOrderId();
}
原文链接: https://www.abmbio.xin/article/25
protected$view;
publicfunction__construct(
\Magento\Sales\Block\Adminhtml\Order\View $view
)
{
$this->view=$view;
}
publicfunctionYourfunction(){
$orderIds=$this->view->getOrderId();
}
原文链接: https://www.abmbio.xin/article/25