Update StpLogic.java

This commit is contained in:
Auster 2021-01-11 17:26:02 +08:00 committed by GitHub
parent ac4ac37175
commit 983c16aa58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,7 +84,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);
}