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
@@ -0,0 +1,18 @@
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<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_TestModule3::all" title="TestModule3" sortOrder="1">
<resource id="Magento_TestModule3::resource1" title="Resource1" sortOrder="20"/>
</resource>
</resource>
</resources>
</acl>
</config>
@@ -0,0 +1,10 @@
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<preference for="Magento\TestModule3\Service\V1\ErrorInterface" type="Magento\TestModule3\Service\V1\Error" />
</config>
@@ -0,0 +1,10 @@
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_TestModule3" />
</config>
@@ -0,0 +1,58 @@
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Webapi:etc/webapi.xsd">
<route method="GET" url="/V1/errortest/success">
<service class="Magento\TestModule3\Service\V1\ErrorInterface" method="success" />
<resources>
<resource ref="Magento_TestModule3::resource1" />
</resources>
</route>
<route method="GET" url="/V1/errortest/notfound">
<service class="Magento\TestModule3\Service\V1\ErrorInterface" method="resourceNotFoundException" />
<resources>
<resource ref="Magento_TestModule3::resource1" />
</resources>
</route>
<route method="GET" url="/V1/errortest/serviceexception">
<service class="Magento\TestModule3\Service\V1\ErrorInterface" method="serviceException" />
<resources>
<resource ref="Magento_TestModule3::resource1" />
</resources>
</route>
<route method="GET" url="/V1/errortest/unauthorized">
<service class="Magento\TestModule3\Service\V1\ErrorInterface" method="authorizationException" />
<resources>
<resource ref="Magento_TestModule3::resource1" />
<resource ref="Magento_TestModule3::resource2" />
</resources>
</route>
<route method="GET" url="/V1/errortest/otherException">
<service class="Magento\TestModule3\Service\V1\ErrorInterface" method="otherException" />
<resources>
<resource ref="Magento_TestModule3::resource1" />
</resources>
</route>
<route method="GET" url="/V1/errortest/returnIncompatibleDataType">
<service class="Magento\TestModule3\Service\V1\ErrorInterface" method="returnIncompatibleDataType" />
<resources>
<resource ref="Magento_TestModule3::resource1" />
</resources>
</route>
<route method="GET" url="/V1/errortest/webapiException">
<service class="Magento\TestModule3\Service\V1\ErrorInterface" method="webapiException" />
<resources>
<resource ref="Magento_TestModule3::resource1" />
</resources>
</route>
<route method="POST" url="/V1/errortest/inputException">
<service class="Magento\TestModule3\Service\V1\ErrorInterface" method="inputException" />
<resources>
<resource ref="Magento_TestModule3::resource1" />
</resources>
</route>
</routes>