We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
最近用yog写广告模板引擎,需要在一次响应中获取多个模板html,拼装成json一起输出 response例如:
The text was updated successfully, but these errors were encountered:
{ status: 0, msg:'', tpls:[ '模板1', '模板2', '模板3', ] }
Sorry, something went wrong.
希望提供yog.render只渲染不响应,直接返回html,res.render('xx.tpl',{},function(err,html){})这种加cb的方法不是最佳实现
No branches or pull requests
最近用yog写广告模板引擎,需要在一次响应中获取多个模板html,拼装成json一起输出
response例如:
The text was updated successfully, but these errors were encountered: