优化A函数,$name默认null=CONTROLLER_NAME