更新时间:2023-12-04 08:10:40
我认为您的路由器是反向的.
I think you have your routers in reverse.
<admin>
<routers>
<adminhtml>
<args>
<modules>
<sintax before="Mage_Adminhtml">Wpr_Giftproducts_Adminhtml</sintax>
</modules>
</args>
</adminhtml>
</routers>
</admin>
这种方式Giftproducts
控制器是adminhtml
路由器的一部分,而以前的方法是将管理控制器重新分配给giftrouter
.
This way the Giftproducts
controller is part of the adminhtml
router, whereas the old way was reassigning admin controllers to giftrouter
.