ltsecurityinc安防产品在线商城代码

This commit is contained in:
2026-09-14 17:47:10 +08:00
parent 57d8444c15
commit 6a3c9c5bd8
14539 changed files with 1775310 additions and 0 deletions
+58
View File
@@ -0,0 +1,58 @@
<?php
namespace JR\NetSuite\Controller\Adminhtml;
use Magento\Backend\App\Action;
use Magento\Backend\App\Action\Context;
class Location extends Action
{
protected $_coreRegistry;
const ADMIN_RESOURCE = 'JR_NetSuite::top_level';
/**
* @param \Magento\Backend\App\Action\Context $context
* @param \Magento\Framework\Registry $coreRegistry
*/
public function __construct(
\Magento\Backend\App\Action\Context $context,
\Magento\Framework\Registry $coreRegistry
) {
$this->_coreRegistry = $coreRegistry;
parent::__construct($context);
}
/**
* Execute Action
*
* @return void
*/
public function execute()
{
$doNothing = true;
}
/**
* Init page
*
* @param \Magento\Backend\Model\View\Result\Page $resultPage
* @return \Magento\Backend\Model\View\Result\Page
*/
public function initPage($resultPage)
{
$resultPage->setActiveMenu(self::ADMIN_RESOURCE)
->addBreadcrumb(__('NetSuite'), __('NetSuite'))
->addBreadcrumb(__('Location'), __('Location'));
return $resultPage;
}
/**
* @inheritdoc
*/
protected function _isAllowed()
{
return $this->_authorization
->isAllowed(
'JR_NetSuite::location'
);
}
}