yaf 笔记(持续更新)
1、如果action不需要输出视图文件(如果ajax请求之类的),只需要在action里面加Yaf\DisPatcher::getInstance()->disableView();
2、获取客户端请求的参数:$this->getRequest()->getParam("name");
python,go,redis,mongodb,.net,C#,F#,服务器架构
1、如果action不需要输出视图文件(如果ajax请求之类的),只需要在action里面加Yaf\DisPatcher::getInstance()->disableView();
2、获取客户端请求的参数:$this->getRequest()->getParam("name");