This commit is contained in:
2026-09-15 10:35:56 +08:00
commit 782f8ea7aa
4086 changed files with 631288 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<type name="Magento\Review\Block\Product\ReviewRenderer">
<plugin name="esun_review_renderer"
type="Esun\Review\Plugin\ReviewRendererPlugin"/>
</type>
<type name="Magento\Review\Model\Review">
<plugin name="esun_review_image_save"
type="Esun\Review\Plugin\Review\SaveImagesPlugin"/>
</type>
<type name="Magento\Review\Controller\Product\Post">
<plugin name="esun_review_require_customer"
type="Esun\Review\Plugin\Review\PostGuestGuardPlugin"/>
</type>
</config>
@@ -0,0 +1,9 @@
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd">
<router id="standard">
<route id="esun_review" frontName="esun_review">
<module name="Esun_Review"/>
</route>
</router>
</config>