我在我的模块上创建了以下类
class Mage_Chargeagent_PaymentupdateController extends Mage_Core_Controller_Front_Action
{
public function indexAction()
{
echo "im here";
die();
}
}
它位于本地\ Company \ Chargeagent \ controllers \ PaymentupdateController.php
下当我试图导航到http://www.xxx.com/index.php/chargeagent/paymentupdate我没有采取正确的行动时,我做错了什么?
答案 0 :(得分:1)
班级名称应为Company_Chargeagent_PaymentupdateController
class Company_Chargeagent_PaymentupdateController extends Mage_Core_Controller_Front_Action
{
public function indexAction()
{
echo "im here";
die();
}
}