3
回答

@AtansChiu 你好,想跟你请教个问题:
继上一个问题,layout中嵌入header和footer
在header中又需要嵌入用户的信息(由:Customer/AccountController/miniInfoAction渲染,其中传递customerData到模版),如:xxx(用户昵称),欢迎您[个人中心][安全退出]
如果用echo $this->partial('customer/account/miniinfo');的话,只是嵌入模版,而不执行Customer/Account/miniInfoAction
这个应该怎么写?