未验证 提交 866c0de1 编写于 作者: C click33 提交者: GitHub

Merge pull request #6 from auster9021/patch-1

Update StpLogic.java
......@@ -102,7 +102,7 @@ public class StpLogic {
if(tokenValue == null && config.getIsReadBody() == true){
tokenValue = request.getParameter(keyTokenName);
}
// 3. 尝试从header读取
// 3. 尝试从header读取
if(tokenValue == null && config.getIsReadHead() == true){
tokenValue = request.getHeader(keyTokenName);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册