mirror of
https://gitee.com/dromara/sa-token.git
synced 2024-12-02 11:57:40 +08:00
Update StpLogic.java
This commit is contained in:
parent
ac4ac37175
commit
983c16aa58
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user