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
+22
View File
@@ -0,0 +1,22 @@
<?xml version="1.0"?>
<!--
/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Cron Schedule List for Magento 2 (System)
*/-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:Acl/etc/acl.xsd">
<acl>
<resources>
<resource id="Magento_Backend::admin">
<resource id="Magento_Backend::system">
<resource id="Amasty_CronScheduleList::amasty_schedule" title="Amasty Cron Scheduler">
<resource id="Amasty_CronScheduleList::schedule_list" title="Cron Tasks List" />
</resource>
</resource>
</resource>
</resources>
</acl>
</config>
+25
View File
@@ -0,0 +1,25 @@
<?xml version="1.0"?>
<!--
/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Cron Schedule List for Magento 2 (System)
*/-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Backend:etc/menu.xsd">
<menu>
<add id="Amasty_CronScheduleList::amasty_schedule"
title="Amasty Cron Scheduler"
module="Amasty_CronScheduleList"
sortOrder="110"
parent="Magento_Backend::system"
resource="Amasty_CronScheduleList::amasty_schedule"/>
<add id="Amasty_CronScheduleList::schedule_list"
title="Cron Tasks List"
module="Amasty_CronScheduleList"
sortOrder="10"
parent="Amasty_CronScheduleList::amasty_schedule"
action="amasty_cronschedulelist/schedule/index"
resource="Amasty_CronScheduleList::schedule_list"/>
</menu>
</config>
+15
View File
@@ -0,0 +1,15 @@
<?xml version="1.0"?>
<!--
/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Cron Schedule List for Magento 2 (System)
*/-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd">
<router id="admin">
<route id="amasty_cronschedulelist" frontName="amasty_cronschedulelist">
<module name="Amasty_CronScheduleList"/>
</route>
</router>
</config>
+14
View File
@@ -0,0 +1,14 @@
<?xml version="1.0" ?>
<!--
/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Cron Schedule List for Magento 2 (System)
*/-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Cron:etc/crontab.xsd">
<group id="default">
<job instance="Amasty\CronScheduleList\Cron\Activity" method="execute" name="amasty_cron_activity">
<schedule>* * * * *</schedule>
</job>
</group>
</config>
+18
View File
@@ -0,0 +1,18 @@
<?xml version="1.0"?>
<!--
/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Cron Schedule List for Magento 2 (System)
*/-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<type name="Magento\Cron\Model\ResourceModel\Schedule\Collection">
<plugin name="Amasty_CronScheduleList::idfieldname" type="Amasty\CronScheduleList\Plugin\ScheduleCollectionPlugin" />
</type>
<type name="Amasty\CronScheduleList\Controller\Adminhtml\Schedule\RunCron">
<arguments>
<argument name="shell" xsi:type="object">shellBackground</argument>
</arguments>
</type>
</config>
+15
View File
@@ -0,0 +1,15 @@
<?xml version="1.0"?>
<!--
/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Cron Schedule List for Magento 2 (System)
*/-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Amasty_CronScheduleList" setup_version="1.0.0">
<sequence>
<module name="Amasty_Base"/>
</sequence>
</module>
</config>