type类型 egg csrf机制应对策略

input中

 type=hidden  name=_csrf   value=<%=_csrf%>  

相当于在

form 中的action 拼接  action=’/add?_csrf=<%=_csrf%>'

原文地址:https://www.cnblogs.com/MJmajong/p/14028086.html